Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#24 Blue Border resizing

closed
nobody
None
5
2005-02-10
2005-02-08
Marek Kubica
No

When opening a file, there is a nice blue border on the
left, whrer Linenumbers are displayed. But I imagined
what would happen, when I open a file with more lines
then the border has space for numbers. I've attached
that file (created by a python script), and compressed,
as it is 600 kbyte big.

My suggestion:
Make the border so long that 4 digit numbers fit (I
doubt there are many programs longer than 9999) but
when a program is longer, resize that border to fit the
number.

Well, that isn't a killer feature but it would be nice :)

Btw: this file also doesn't pass the syntax check like
described in Bug 1118557, but Python makes no problems
running it.

Discussion

  • Marek Kubica
    Marek Kubica
    2005-02-08

    A long python program

     
    Attachments
  • Logged In: YES
    user_id=772872

    For that, you have in Options => Document the preference:
    Line Number Margin Width, which you can increase.

     
  • Logged In: YES
    user_id=796750

    Hmmmm. I could for the next big version, work on
    calculating the pixel size automatically based on the number
    of lines, and using the TextWidth method.....

     
  • Marek Kubica
    Marek Kubica
    2005-02-09

    Logged In: YES
    user_id=872713

    Yes, that would be ok. Well, as said, it has no big
    priority, but why don't do it when it is possible?

     
    • status: open --> closed
     
  • Logged In: YES
    user_id=796750

    This will be in the next release.