Bolding of selected line-numbers
Compacting String functions Removed empty lines (style) Ignore *.aps files git-svn-id: https://lsleditor.svn.sourceforge.net/svnroot/lsleditor@69 3f4676ac-adda-40fd-8265-58d1435b1672
This commit is contained in:
parent
fd082d5d10
commit
1ee4b400eb
4 changed files with 15 additions and 14 deletions
|
@ -57,8 +57,14 @@ namespace NumberedTextBox
|
|||
this.numbered1.richTextBox1 = this.syntaxRichTextBox1;
|
||||
this.syntaxRichTextBox1.OnPaintNumbers += new EventHandler(syntaxRichTextBox1_OnPaintNumbers);
|
||||
this.FontChanged += new EventHandler(NumberedTextBoxUC_FontChanged);
|
||||
this.syntaxRichTextBox1.OnCursorPositionChanged += new LSLEditor.SyntaxRichTextBox.CursorPositionChangedHandler(syntaxRichTextBox1_OnCursorPositionChanged);
|
||||
}
|
||||
|
||||
void syntaxRichTextBox1_OnCursorPositionChanged(object sender, LSLEditor.SyntaxRichTextBox.CursorPositionEventArgs e)
|
||||
{
|
||||
this.numbered1.Invalidate();
|
||||
}
|
||||
|
||||
void NumberedTextBoxUC_FontChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.numbered1.LineHeight = 0.0F; // reset!!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue