Cmd-Shift-L for select line only selects the physical line, not the logical; if the line was wrapped it will not select the second part. This also causes the default Duplicate Line macro to not work correctly on wrapped lines I think. Is this easily fixable?
Regards,
Martin
PS. just ritually sacrificed BBEdit, now that TextMate supports the ODB Editor Suite.
On 4. Nov 2004, at 20:56, M Spreij wrote:
Cmd-Shift-L for select line only selects the physical line, not the logical; if the line was wrapped it will not select the second part.
The standard NSTextView behaves the same.
Is this easily fixable?
Select paragraph (option-p) will select the entire non-wrapped line.
Unfortunately when you disable soft wrap, select paragraph will change to selecting what constitutes a hard wrapped paragraph (i.e. text lines surrounded by blank lines).
This is intentional, but it makes the action unreliable in macros.
NSTextView doesn't really support non-soft wrapped text, so a paragraph there is always the non-wrapped line -- I could do the same, but then there would be no way to select hard wrapped paragraphs, and select line/paragraph would do the same when soft wrap was disabled (as is the case in e.g. Xcode, which achieves non-soft wrap for the NSTextView).
Comments?
Kind regards Allan
On 4. nov 2004, at 22:56, Allan Odgaard wrote:
Select paragraph (option-p) will select the entire non-wrapped line. Unfortunately when you disable soft wrap, select paragraph will change to selecting what constitutes a hard wrapped paragraph (i.e. text lines surrounded by blank lines). This is intentional, but it makes the action unreliable in macros. [...] Comments?
As the one requesting the feature, I of course like the current behaviour.. I do acknowledge the problem with macros... the same kind of problems are easily introduced when/if preferenced are planned, and the macro has to rely on a certain setting. Unless there is some way to save a set of settings with macros of course.