showerliang / golangide

Automatically exported from code.google.com/p/golangide
0 stars 0 forks source link

GolangIDE does not show line numbers properly (cut off numbers which have 2 or more digits) #86

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install golangide
2. run golangide (check "Display line numbers" in Display Tab of LiteEditor 
Option page)
3. see the line numbers which has 2 or more digits, in the editor

What is the expected output? What do you see instead?
golangide should display line numbers properly, but the line numbers are 
displayed with a portion cut off on the front, so it is very hard to 
distinguish 55 and 65. 

What version of the product are you using? On what operating system?
LiteIDE X17 on openSuSE 12.3 64-bit linux.

Please provide any additional information below.
please check the attached screenshot. I was using 10 point "Consolas" font, and 
tried default "monospace" font as well, but the result is same. 

I can see the numbers properly upto 2 digits if i change the font to 9 points, 
but the issue remains with 3 digit line numbers. The width of line number bar 
should adjust accordingly, but it is not doing so.

Original issue reported on code.google.com by neu...@gmail.com on 5 Apr 2013 at 4:37

Attachments:

GoogleCodeExporter commented 9 years ago
FWIW, i am using KDE 4.10.1 as my Desktop Environment

Original comment by neu...@gmail.com on 5 Apr 2013 at 4:38