Mindaugas Kavaliauskas wrote:
> 
> 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.
> 

I have made it simpler. 



> The idea of persistent block is that block remains marked after 
> navigation keys are pressed!
> 

Yep it should behave like this.



> 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.
> 

This is exactly how it is implemented now.



>>   * 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.
> 

If I am taking it in right perspective, persistent block means a selected
area
remains selected until another block operation is initiated, right ?
If yes, then this is exactly how it is implemented now.

To illustrate:

1. Select a block either with Sh+NavableKeys or mouse.
2. Get cursor out of this area either by clicking at the other row or with
arrows keys.
3. Start typing, see that block remains intact.
4. Scroll past the block and bring it back in view, it is intact.
5. Click on other editor instance and do the same.
6. Go back and forth both editing instances and check if block still exists.
7. Issue Ctrl+C while in source having selected block.
8. Select other instance and press Ctrl+V, check block copntents copied
here.

Or I am missing to decipher persistence ?

-----
     enjoy hbIDEing...
        Pritpal Bedi 
http://hbide.vouch.info/
-- 
View this message in context: 
http://harbour-devel.1590103.n2.nabble.com/SF-net-SVN-harbour-project-14417-trunk-harbour-tp4994458p5003361.html
Sent from the harbour-devel mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to