public void FindAllReferences()
 {
     if (!Visible)
     {
     	if (!MainForm.BottomTabsVisible)
     		MainForm.BottomTabsVisible = true;
     	MainForm.ShowContent(this, false);
     }
     MainForm.FindAllReferncesEnabled = false;
     MainForm.SetStateText(PascalABCCompiler.StringResources.Get("VP_VEC_STATETEXT_FINDREFERNCES"));
     lvFindSymbolResults.Items.Clear();
     __textarea = MainForm.CurrentCodeFileDocument.TextEditor.ActiveTextAreaControl.TextArea;
     if (!ThreadPool.QueueUserWorkItem(__gaFindReferences))
         __gaFindReferences(null);
 }
Example #2
0
 public bool InsertAction(ICSharpCode.TextEditor.TextArea textArea, char ch)
 {
     return(true);
 }
Example #3
0
 public override void Execute(ICSharpCode.TextEditor.TextArea textArea)
 {
     (textArea.MotherTextEditorControl as CodeFileDocumentTextEditorControl).MainForm.BottomTabsVisible = false;
 }
 protected bool LineEndsWithOpeningBracket(ICSharpCode.TextEditor.TextArea textArea, int line)
 {
     return(TextUtilities.GetLineAsString(textArea.Document, line).Trim().EndsWith("{"));
 }
 protected bool LineStartsWithClosingBracket(ICSharpCode.TextEditor.TextArea textArea, int line)
 {
     return(TextUtilities.GetLineAsString(textArea.Document, line).Trim().StartsWith("}"));
 }
 protected override int AutoIndentLine(ICSharpCode.TextEditor.TextArea textArea, int lineNumber)
 {
     return(base.AutoIndentLine(textArea, lineNumber));
 }
 public IconBarMargin(ICSharpCode.TextEditor.TextArea textArea) : base(textArea)
 {
 }
Example #8
0
 /// <summary>
 /// 項目選択決定時にエディタへのアクション
 /// </summary>
 /// <param name="textArea">操作するエディタ</param>
 /// <param name="ch">入力された文字</param>
 /// <returns>成功したときtrue</returns>
 public bool InsertAction(ICSharpCode.TextEditor.TextArea textArea, char ch)
 {
     textArea.InsertString(m_text);
     return(false);
 }