Hi,
I have just realized that blocks are not copyable to other file.
Will fix in a while. Moving the block is something new to me and is easy.
Which key should be designated to move, Ctrl+M ?
I do not know the "correct" key mappings for various operations. It is a
question of mappings, but I think it's enough to make all actions
mappable and prepare a few sets of mappings. Let's say: MultiEdit
compatible, xMate compatible, and "common Windows" key mapping. If move
block has not key in common windows applications (because native windows
controls does not have persistent blocks), we can leave move block
operation unassigned.
One block per file can remain persistent until a navigation key is not
presses.
The idea of persistent block is that block remains marked after
navigation keys are pressed!
Line blocks marks whole lines, so, you do not need to move cursor to the
first column.
Ok, got it. Is easy to implement. But again it is an issue when to
deactivate.
I will think over this issue.
If persistent block mode is switched off, blocks is deactivated/unmarked
after any cursor movement. If persistent block mode is switch on, there
is a special unmark operation. If is Ctrl+Shift+F7 in standard MultiEdit
key mapping. But I usually unmark block by Shift+Up,Down, i.e. by
marking another empty block.
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
* contrib/hbqt/hbqt_hbqplaintextedit.h
* contrib/hbide/ideeditor.prg
* contrib/hbide/ideshortcuts.prg
+ Implemented: persistent blocks and cut/copy/paste operations
across files and locations within the same file.
Perhaps this is implemented in .cpp level only yet. I can not find a way
to switch persistent block mode on.
Thanks, regards,
Mindaugas
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour