mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-23 06:13:07 -06:00
ide: Line numbers cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@7902 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
e0a06c92f0
commit
a35a87737f
1 changed files with 2 additions and 2 deletions
|
|
@ -94,7 +94,7 @@ void EditorBar::Paint(Draw& w)
|
|||
if(line_numbers && i < editor->GetLineCount()) {
|
||||
String n = AsString(i + 1);
|
||||
for(int q = 0; q < 4 && q < n.GetLength(); q++) {
|
||||
w.DrawImage(sz.cx - 8 - q * 6,
|
||||
w.DrawImage(sz.cx - 8 - q * 6 - 12,
|
||||
y + (fy - CodeEditorImg::N0().GetSize().cy) / 2,
|
||||
numeri[n[n.GetLength() - 1 - q] - '0'],
|
||||
// CodeEditorImg::Vector[n[n.GetLength() - 1 - q] - '0' + CodeEditorImg::I_N0],
|
||||
|
|
@ -484,7 +484,7 @@ void EditorBar::HidePtr()
|
|||
|
||||
void EditorBar::SyncWidth()
|
||||
{
|
||||
Width((line_numbers ? 27 : 12) + annotations);
|
||||
Width((line_numbers ? 27 + 12 : 12) + annotations);
|
||||
Refresh();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue