I. I would like to request a shortcut for Rewrap (TextFX Edit). This has been a request of my own for some time now. Using Split Lines and Join Lines will mimic word wrap to some degree but not as well. For example, sometimes Split Lines will break a continuous sequence of characters if they are not all, eg, letters. This causes lots more typos.
In general there is no configurator to give shortcuts to plugins, but Rewrap is important enough to have its own. I would also like to be able to add it to the context menu when I right-click, so it needs to be added to <language>.xml as well.
With this feature I could type a paragraph (actually a joined line), double click to select the entire paragraph, right-click and select Rewrap.
II. As to rewrap itself, it would be great if it would respect indentation. So if I have a paragraph or line (including a long joined line) indented 5 spaces, rewrap would rewrap the paragraph/line to 5 spaces.
WinEDT has the best wrapping-formatting of any text editor I've seen. It allows you to select/rewrap
a. individual paragraphs
b. entire document
with repect for indentation.
III. I'm not sure how much scintilla's limitations are an issue here but a related feature that would be really useful is automatic wrapping. So if I select a right margin of 72 colums the line will automatically split and rewrap to the next line, respecting indentation. This third issue is not really a plugin issue, but it's related to the above so...
I) is probably the easiest one to implement, and if we only get that I'll be quite happy :-) In any case I could readily use more rewrap tools in npp! Thanks for reading.
Best wishes
Idris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I. I would like to request a shortcut for Rewrap (TextFX Edit). This has been a request of my own for some time now. Using Split Lines and Join Lines will mimic word wrap to some degree but not as well. For example, sometimes Split Lines will break a continuous sequence of characters if they are not all, eg, letters. This causes lots more typos.
In general there is no configurator to give shortcuts to plugins, but Rewrap is important enough to have its own. I would also like to be able to add it to the context menu when I right-click, so it needs to be added to <language>.xml as well.
With this feature I could type a paragraph (actually a joined line), double click to select the entire paragraph, right-click and select Rewrap.
II. As to rewrap itself, it would be great if it would respect indentation. So if I have a paragraph or line (including a long joined line) indented 5 spaces, rewrap would rewrap the paragraph/line to 5 spaces.
WinEDT has the best wrapping-formatting of any text editor I've seen. It allows you to select/rewrap
a. individual paragraphs
b. entire document
with repect for indentation.
III. I'm not sure how much scintilla's limitations are an issue here but a related feature that would be really useful is automatic wrapping. So if I select a right margin of 72 colums the line will automatically split and rewrap to the next line, respecting indentation. This third issue is not really a plugin issue, but it's related to the above so...
I) is probably the easiest one to implement, and if we only get that I'll be quite happy :-) In any case I could readily use more rewrap tools in npp! Thanks for reading.
Best wishes
Idris