コード例 #1
0
 public UncommentLinesCommand(ActiproEditor editor, IViewService viewService)
     : base(editor)
 {
     this.viewService = viewService;
 }
コード例 #2
0
ファイル: ActiproEditor.cs プロジェクト: radtek/Shopdrawing
 private bool ClampToLength(ref int offset)
 {
     return(ActiproEditor.Clamp(ref offset, Math.Max(0, this.editor.Document.Length - 1)));
 }
コード例 #3
0
ファイル: ActiproEditor.cs プロジェクト: radtek/Shopdrawing
 private bool ClampToLineCount(ref int line)
 {
     return(ActiproEditor.Clamp(ref line, Math.Max(0, this.editor.Document.Lines.Count - 1)));
 }
コード例 #4
0
ファイル: GoToLineCommand.cs プロジェクト: radtek/Shopdrawing
 public GoToLineCommand(ActiproEditor editor)
     : base(editor)
 {
 }
コード例 #5
0
 public UndoCommand(ActiproEditor editor)
     : base(editor)
 {
 }
コード例 #6
0
ファイル: ActiproCommand.cs プロジェクト: radtek/Shopdrawing
 protected ActiproCommand(ActiproEditor actiproEditor)
 {
     this.editor = actiproEditor.Editor;
 }