mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-22 04:23:09 +00:00
Quick error fix
This commit is contained in:
parent
df1989236a
commit
2c6ba2f1bb
1 changed files with 4 additions and 0 deletions
|
@ -22,6 +22,8 @@ namespace Toolbox.Library.Forms
|
|||
return new List<IFileFormat>() { FileFormat };
|
||||
}
|
||||
|
||||
public EventHandler TextEditorChanged;
|
||||
|
||||
public void BeforeFileSaved() { }
|
||||
|
||||
FindReplace findReplaceDialog;
|
||||
|
@ -331,6 +333,8 @@ namespace Toolbox.Library.Forms
|
|||
private int maxLineNumberCharLength;
|
||||
private void scintilla1_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
TextEditorChanged?.Invoke(sender, e);
|
||||
|
||||
// Did the number of characters in the line number display change?
|
||||
// i.e. nnn VS nn, or nnnn VS nn, etc...
|
||||
var maxLineNumberCharLength = scintilla1.Lines.Count.ToString().Length;
|
||||
|
|
Loading…
Reference in a new issue