Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


On 11/11/11 19:56, Noel Power wrote:
On 11/11/11 19:25, August Sodora wrote:
[...]
Also, is there a consensus on how
the option to hide/display line numbers should be added? Currently I'm
trying to add a page to the options dialog in cui but I suppose it
will really only have one option for now, is that ok?
hmm, I'd keep it simple, imo either of the options I mentioned previously....

On 11/11/11 16:50, Noel Power wrote:
Of course I was looking at the stuff in cui for adding an option
somewhere, is that the correct place to be looking? Also I'm not sure
if the basic ide deserves its own entire category for options yet as I
think this is the first configurable thing about the basic ide.
I wasn't thinking about anything so grand, mostly I was thinking about maybe either adding a new checkbox under view or perhaps adding a 'toggle linenumbers' button to macro toolbar ( see view|toolbars|macros ) For a first cut/release I wouldn't even worry about persisting that option

ok, since let me try and help with this, I am trying to add the menu and some supporting code to tie that in, when I have it done I hope you can take the patch and look at dynamically displaying/undisplaying the linenumbers. Perhaps as a start you could assume the ComplexEditor will be constructed with no line numbers displayed ( e.g. the linenumberwindow should not be shown ) You could add a method void ComplexEditor::SetLineNumberDisplay( bool ) which would show/hide the linenumber windows and do/call whatever resizing magic that needs to happen. How does that sound?

Noel

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.