[Geany] looking for these features

Nick Treleaven nick.treleaven at xxxxx
Sun Feb 18 13:09:23 UTC 2007


On 02/17/2007 06:34:54 PM, John Gabriele wrote:
> On 2/17/07, Nick Treleaven <nick.treleaven at btinternet.com> wrote:
>> On 02/16/2007 09:38:38 PM, John Gabriele wrote:
>> > * Does Geany have a justify paragraph (aka "fill paragraph")  
>> feature?
>> > It would be sometimes helpful to be able to justify to whatever the
>> > "long line marker" is set to.
>> do   you   mean   like   this?
> 
> No, not putting in any extra spaces. Sorry -- "justify paragraph" is
> probably an ambiguous term. I meant, if you've got a paragraph of
> text, with lines of varying length (or maybe it's just one big long
> wrapped line), I'd like to be able to have the editor add in and/or
> move around newlines to make the lines all about n characters long.
> This comes up for me when writing docs in code. I keep going back to
> the docs to update them, but when I do, it goofs up line lengths, and
> I have to even the lines up again to make it look nice. It's a real
> pain that I think the editor should take care of for me. Emacs does it
> with M-q. NEdit does it with Ctrl-J. I use this feature a lot.
OK, thanks for explaining.
> [...]
>> > Also, an idea: it might be more clear to rename "Line Wrapping"  
>> (both
>> > in the Document menu and Edit --> Prefs --> Editor tab) to "Display
>> > lines wrapped". Hmm... Is there a separate term for when the editor
>> > inserts newlines automatically for you as you type long lines?  
>> Maybe
>> > just distinguish between these two sorts of features in the popup
>> > help?
>> NEdit has a wrap mode called 'Auto Newline'. Alternatively we could  
>> use
>> 'Word Wrapping'.
> 
> Ah yes, Auto Newline. I don't find this feature useful. It's very
> difficult to get it to behave right in all circumstances. I much
> prefer just typing away, and then manually doing the
> fill-paragraph/justify when I want to even up the current paragraph.
I think Auto Newline and manual line-breaking would share most of the  
same code. I think Auto Newline is an important feature.
> 
> I suppose the original point I was trying to get at was that the popup
> help should probably explicitly say that Line Wrapping has to do with
> *display*, and not actually putting in newline characters for the user
> (like an Auto Newline feature would do).
I agree that the term is not completely clear, but IME most editors use  
it consistently to mean wrap the text to the width of the window,  
without linebreaks.
How about 'Line Breaking' to describe inserting newlines?

Regards,
Nick



More information about the Users mailing list