Hi,

On 2010.05.06 21:46, Pritpal Bedi wrote:
I need your valuable input exactly how must these behave in
different circumstances. You also update me if the selection behavior is
upto expectations or not. Also please check for all three variants
I committed r14440.

Also explain a little why these copy operation must not be
posted to clipboad. I am in a position to keep copy information
to me only but before I proceed I should know the relevant facts.

I'll try to define, the way it works in MultiEdit:

There is one global setting, that affects block behaviour of all tree block types:
  [x] Persistent blocks
Of cause we can implement persistent a separate persistent option for each type (line, stream, column) of blocks, but I do not thing anyone will need it.

There are separate operations (I also indicate default key shortcut for it, but all these shortcuts can be redefined):
  Mark Line    (F7, starts line block marking)
  Mark Stream  (Ctrl+F7, starts stream block marking)
  Mark Column  (Shift+F7, starts column block marking)
  End Marking  (any of keys F7, Ctrl+F7, Alt+F7 ends marking)
  Marking Off  (Ctrl+Shift+F7)

  Copy block   (F8, copies block to current position)
  Move block   (Shift+F8, moves block to current position)
  Delete block (Ctrl+F8, deletes block)
  Copy         (Ctrl+C, copies block to clipboard)
  Cut          (Ctrl+X, moves block to clipboard)
  Paste        (Ctrl+V, pastes from clipboard to current position)

That's all basic idea.

More advanced settings:
[x] Turn block highlight off after paste   (default: checked)
[ ] Turn block highlight off after copy    (default: unchecked)
[x] Shift+Up/Down begins line block (default: checked, i.e., Shift+Up/Down starts line block marking, Shift+Left/Right starts stream block marking. Otherwise (if unchecked) all Shift+Arrows starts stream block marking)
....
and many more.


Mouse marking: in the process of marking, before left mouse button is released, the right button changes block type: stream->line->column->stream->...

The wrong concept of current behaviour:
- there is no concept of "current marking mode" for keyboard operations before marking is started (only mouse marking remembers the last marked block type). Different marking modes are selected by different keys. So, there is no need to have toolbar button "Column blocks" (or we should have 3 buttons: Mark line, Mark Stream, Mark Column). - block is copied (including copy-paste operations via clipboard) in the same mode as was created, i.e., column blocks are pasted as column blocks, etc.
  - all block markings has the same blue color
- line and stream blocks are hilited beyond end of line, not until the last character of line (this is not very important)



Regards,
Mindaugas
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to