Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0, 2.0.1, and 2.0.2

stable rejects: do not hard-code the line number margin size (closes #152)

Changeset 515879ff1c5e

Parent 3313795c4e44

by Steve Borho

Changes to one file · Browse files at 515879ff1c5e Showing diff from parent 3313795c4e44 Diff from another changeset...

 
32
33
34
35
36
37
38
39
 
98
99
100
 
 
101
102
103
 
32
33
34
 
 
35
36
37
 
96
97
98
99
100
101
102
103
@@ -32,8 +32,6 @@
  self.setLayout(QVBoxLayout())   editor = qscilib.Scintilla()   editor.setBraceMatching(qsci.SloppyBraceMatch) - editor.setMarginLineNumbers(1, True) - editor.setMarginWidth(1, '000')   editor.setFolding(qsci.BoxedTreeFoldStyle)   editor.installEventFilter(qscilib.KeyPressInterceptor(self))   editor.setContextMenuPolicy(Qt.CustomContextMenu) @@ -98,6 +96,8 @@
  editor.setModified(False)   lexer = lexers.get_lexer(path, f.readData(1024), self)   editor.setLexer(lexer) + editor.setMarginLineNumbers(1, True) + editor.setMarginWidth(1, str(editor.lines())+'X')     buf = cStringIO.StringIO()   try: