CodeEditor: Line numbers now drawn using font (not images) #930

git-svn-id: svn://ultimatepp.org/upp/trunk@7921 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2014-11-23 16:34:04 +00:00
parent d43f35eb5d
commit 8a712075e8
4 changed files with 48 additions and 71 deletions

View file

@ -958,10 +958,10 @@ CodeEditor::CodeEditor() {
bracket_start = 0;
stat_edit_time = 0;
last_key_time = Null;
SetFont(Courier(16));
AddFrame(bar);
bar.SetEditor(this);
UndoSteps(10000);
SetFont(Courier(16));
InitFindReplace();
bar.WhenBreakpoint = THISBACK(ForwardWhenBreakpoint);
bar.WhenAnnotationMove = Proxy(WhenAnnotationMove);