⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 interpreterpad.boo

📁 SharpDevelop2.0.0 c#开发免费工具
💻 BOO
字号:
// <file>
//     <copyright see="prj:///doc/copyright.txt">2004 Rodrigo B. de Oliveira; 2005 AlphaSierraPapa</copyright>
//     <license see="prj:///doc/license.txt">GNU General Public License</license>
//     <owner name="Daniel Grunwald" email="daniel@danielgrunwald.de"/>
//     <version>$Revision$</version>
// </file>

namespace Boo.InterpreterAddIn

import System
import System.Windows.Forms
import ICSharpCode.Core
import ICSharpCode.SharpDevelop.Gui

class InterpreterPad(AbstractPadContent, IClipboardHandler):
"""Description of InterpreterPad"""
	ctl = InteractiveInterpreterControl()
	
	Control as Control:
		get:
			return ctl
	
	EnableCut:
		get:
			return ctl.ActiveTextAreaControl.TextArea.ClipboardHandler.EnableCut
	
	EnableCopy:
		get:
			return ctl.ActiveTextAreaControl.TextArea.ClipboardHandler.EnableCopy
	
	EnablePaste:
		get:
			return ctl.ActiveTextAreaControl.TextArea.ClipboardHandler.EnablePaste
	
	EnableDelete:
		get:
			return ctl.ActiveTextAreaControl.TextArea.ClipboardHandler.EnableDelete
	
	EnableSelectAll:
		get:
			return ctl.ActiveTextAreaControl.TextArea.ClipboardHandler.EnableSelectAll
	
	def Cut():
		ctl.ActiveTextAreaControl.TextArea.ClipboardHandler.Cut(null, null)
	
	def Copy():
		ctl.ActiveTextAreaControl.TextArea.ClipboardHandler.Copy(null, null)
	
	def Paste():
		ctl.ActiveTextAreaControl.TextArea.ClipboardHandler.Paste(null, null)
	
	def Delete():
		ctl.ActiveTextAreaControl.TextArea.ClipboardHandler.Delete(null, null)
	
	def SelectAll():
		ctl.ActiveTextAreaControl.TextArea.ClipboardHandler.SelectAll(null, null)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -