Revision: 14417
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14417&view=rev
Author: vouchcac
Date: 2010-05-02 22:36:56 +0000 (Sun, 02 May 2010)
Log Message:
-----------
2010-05-02 03:00 UTC-0800 Pritpal Bedi ([email protected])
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
* contrib/hbqt/hbqt_hbqplaintextedit.h
* contrib/hbide/ideeditor.prg
+ Implemented: much-awaited and extremely-required feature - block
copy/paste.
This implementation closely follows xMate's footsteps and is highly
optimized,
having maximum tasks carried through .prg code. Probably this opens up
hbIDE to wider audience. This has been the most difficult feature so far,
and has consumed an entire week with intensive schedule.
Here is how it should be used:
Activation:
Clicking on the "Toggle Selection Mode" top-toolbar icon.
It must appear depressed after activation.
Selection Process:
Keyboard : Shift + Navigation Keys ( Left, Right, Up, down, PgUp, PgDn,
Home, End ).
Mouse : Mouse-move while left-button pressed ( Only available for
visible text ).
Copy : Ctrl+C ( text is also available on the clip-board )
Paste : Ctrl+V ( text only copied through Ctrl+C while in "Column
Selection" mode ).
Inserts : Position cursor at first line and column,
Press Shift+Down arraow upto some ending row,
A thin-vertical-line should appear follwoing your cursor
path,
Start typing any characters,
Any other navigation key will end this sesion,
Backspace key can be used to deleted previous characters.
If block is already selected, visible through color
differentiation,
typing any charcter(s) will merely fill the selection with
it,
Deletes : Select the text with Shift+Navigation Keys,
Press "Del".
It is highly possible that some of the artifacts may have gone not
exactly like
xMate, so please report back. Also note that selections left-to-right are
known
for accuracy, right-to-left may not produce accurate results. Other thing
to
note is that horizontal scrolling has not been possible, so if your text
goes
beyond right-edge of the window and you have a need to copy it, then
first zoom-in
to brought it into viewport, then start selection process. Vertical
length does
not matter. However with mouse you can only select a window-full of text.
xMate does not support column-selection with mouse.
Modified Paths:
--------------
trunk/harbour/ChangeLog
trunk/harbour/contrib/hbide/ideeditor.prg
trunk/harbour/contrib/hbqt/hbqt_hbqplaintextedit.cpp
trunk/harbour/contrib/hbqt/hbqt_hbqplaintextedit.h
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour