User forums > General (but related to Code::Blocks)

suggestion for C::B

(1/4) > >>

lfm:
The width of line numbers colume is too large, not good - look.
Thanks.
 

takeshimiya:

--- Quote from: lfm on May 13, 2006, 01:47:08 am ---The width of line numbers colume is too large, not good - look.

--- End quote ---
It's a wxScintilla feature request, not a Code::Blocks one.

Please send a feature request here: http://sourceforge.net/tracker/?group_id=51305&atid=462819
or send a mail to Otto Wyss, the wxScintilla author: wyo at users.sourceforge.net

thomas:

--- Quote from: Takeshi Miya on May 13, 2006, 01:50:57 am ---It's a wxScintilla feature request, not a Code::Blocks one.
--- End quote ---
This has little to do with wxScintilla, as the width of the margin can be set arbitrarily by the application. We are setting the width of the margin to accomodate 6 digits.
As an example of a Scintilla based applicatin which does it differently, SciTE adjusts the margin width dynamically, which I perceive extremely disturbing.

If you are unhappy with the margin's width, feel free to modify cbEditor.cpp, add
m_pControl->SetMarginWidth(0, desiredWidth); as the last line of  cbEditor::cbEditor().

However, I see no reason why we should change the width in the code base or make it runtime-configurable. It is good as it is for most people, and not every property has to be configurable just for the sake of tweaking.

takeshimiya:

--- Quote from: thomas on May 13, 2006, 01:25:33 pm ---
--- Quote from: Takeshi Miya on May 13, 2006, 01:50:57 am ---It's a wxScintilla feature request, not a Code::Blocks one.
--- End quote ---
This has little to do with wxScintilla, as the width of the margin can be set arbitrarily by the application.

--- End quote ---
Great, I didn't know.


--- Quote from: thomas on May 13, 2006, 01:25:33 pm ---As an example of a Scintilla based applicatin which does it differently, SciTE adjusts the margin width dynamically, which I perceive extremely disturbing.

--- End quote ---
Thanks for the info, I find "extremely disturbing" not setting the width dynamically and always wondered why it wasn't behaving like SciTE (that's why I thought it was wxScintilla...)


--- Quote from: thomas on May 13, 2006, 01:25:33 pm ---However, I see no reason why we should change the width in the code base or make it runtime-configurable.

--- End quote ---
The above and this very thread is a good reason now.  :wink:


--- Quote from: thomas on May 13, 2006, 01:25:33 pm ---It is good as it is for most people, and not every property has to be configurable just for the sake of tweaking.

--- End quote ---
I agree that not every property has to be configurable just for the sake of tweaking (in fact I would preffer dynamically adjusting it without any option to disable it), but I strongly disagree about the "It is good as it is for most people" part.

So, it's personal preference, not everyone haves to like everything you like. In those cases is where an option is the right thing.
Thank you for your patience.

lfm:
my wish: The width of line numbers column become an option of "Settings/Editor "

Navigation

[0] Message Index

[#] Next page

Go to full version