Author Topic: Word wrap and column mode  (Read 2938 times)

Offline JJK

  • Registered User
  • Full Member
  • *
  • Posts: 152
  • Karma: +2/-0
Word wrap and column mode
« on: December 04, 2008, 04:49:04 PM »
In column mode, we can for example insert any text at the same place in the selected lines.
But if word wrap is allowed, it causes issues when the text exceeds the right edge.

So I think that column mode should be disabled if wordwrap is allowed.
What do you think ?

Another thing : I have assigned Ctrl-W to View.WordWrapEasy command. And I'm happy !

Last thing : I discovered that right-clicking in overview bar (at the extreme right of the window, if View/Window/OverviewBar is on), we have access to "Preferences" which opens dialog for the active syntax.

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2225
  • Karma: +37/-3
    • HippoEDIT
Re: Word wrap and column mode
« Reply #1 on: December 05, 2008, 03:03:19 PM »
I would not agree. I have already evaluated this some time ago.
In many cases when you have word wrap enabled, you can still do the column mode selection editing for lines which are not wrapped. And I dont want to force users to switch WW off and on only to do some column mode operations...

I would say if lines are wrapped (or would be wrapped after column mode editing) this is user fault. He can still have an undo, disable word-wrap and do the desiged action.

And for the rest: I really happy that you find Hippoedit useful ;)

Offline JJK

  • Registered User
  • Full Member
  • *
  • Posts: 152
  • Karma: +2/-0
Re: Word wrap and column mode
« Reply #2 on: December 05, 2008, 03:20:37 PM »
Quote
In many cases when you have word wrap enabled, you can still do the column mode selection editing for lines which are not wrapped. And I dont want to force users to switch WW off and on only to do some column mode operations...
Yes I understand. But I was once or twice perturbed by the behaviour of inserting some word in column mode. First and second time, I believed that HE was buggy, whereas wordwrap was on.
Perhaps a warning should be welcome in that case, with an option to ignore always that type of warning.
BTW many text editors disable column mode while ww is on. But effectively, it is too constricting.

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2225
  • Karma: +37/-3
    • HippoEDIT
Re: Word wrap and column mode
« Reply #3 on: December 05, 2008, 03:48:48 PM »
Yes, I know that some editors block column editing in WW mode. But I wrote my points about this.
There is no problem to add warning (status message) if you try to do block editing of wrapped lines. I would introduce this next beta. Thanks ;)

Added with 550.
« Last Edit: December 08, 2008, 03:10:54 PM by alex »