Name : perl-Tk-Text-SuperText
| |
Version : 0.12
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp156.1.1
| Date : 2024-07-03 19:18:04
|
Group : Unspecified
| Source RPM : perl-Tk-Text-SuperText-0.12-lp156.1.1.src.rpm
|
Size : 0.06 MB
| |
Packager : https://www_suse_com/
| |
Summary : An improved text widget for perl/tk
|
Description :
*Tk::Text::SuperText* implements many new features over the standard Tk::Text widget while supporting all its standard features. It\'s used simply as the Tk::Text widget. New Features:
* * Unlimited undo/redo.
So you can undo and redo whatever you deleted/inserted whenever you want. To reset the undo and redo buffers call this method: _$w_->*resetUndo*;
* * Rectangular selections.
Rectangular text zones can be selected, copied, deleted, shifted with the mouse or with the keyboard.
* * Selection right/left char and tab shift.
Text selections can be shifted left/right of one or more chars or a tabs.
* * Normal and \'inline\' selection paste.
The \'normal\' paste is the normal text paste you know:
* Paste Buffer:
line x
line y
* Text Buffer:
line 1
line2
* Normal paste at line 1:
_line x_
_line y_
line 1
line 2
* The \'inline\' paste works like this:
* Inline paste at line 1:
_line x_ line 1
_line y_ line 2
* * Parentheses matching.
To help you inspect nested parentheses, brackets, and other characters, *SuperText* has both an automatic parenthesis matching mode, and a find matching command. Automatic parenthesis matching is activated when you type or when you move the insertion cursor after a parenthesis. It momentarily highlights the matching character if that character is visible in the window. To find a matching character anywhere in the file, position the cursor after the it, and call the find matching command.
* * Auto-indenting.
When you press the Return or Enter key, spaces and tabs are inserted to line up the insert point under the start of the previous line.
* * Control codes insertion.
You can directly insert a non-printable control character in the text.
* * Commands are managed via virtual events.
Every *SuperText* command is bound to a virtual event, so to call it or to bind it to a key sequence use the Tk::event functions. I used this format for key bind so there\'s no direct key-to-command bind, and this gives me more flexibility; however, you can use normal binds.
Example: _$w_->*eventAdd*(_\'Tk::Text::SuperText\',\'< < SelectAll>>\',\'< Control-a>\'_);
To set default event bindings use this method: _$w_->*bindDefault*;
* * Default key bindings are redefined (not really a feature :).
Every virtual event has an associated public method with the same name of the event but with the first char in lower case (e.g.: *< < MouseSelect>>* event has a corresponding _$super_text_->*mouseSelect* method).
Virtual Event/Command Default Key Binding
MouseSetInsert < Button1> MouseSelect < B1-Motion> MouseSelectWord < Double-1> MouseSelectLine < Triple-1> MouseSelectAdd < Shift-1> MouseSelectAddWord < Double-Shift-1> MouseSelectAddLine < Triple-Shift-1> MouseSelectAutoScan < B1-Leave> MouseSelectAutoScanStop < B1-Enter>,< ButtonRelease-1> MouseMoveInsert < Alt-1> MouseRectSelection < Control-B1-Motion> MouseMovePageTo < 2> MouseMovePage < B2-Motion> MousePasteSelection < ButtonRelease-2>
MoveLeft < Left> SelectLeft < Shift-Left> SelectRectLeft < Shift-Alt-Left> MoveLeftWord < Control-Left> SelectLeftWord < Shift-Control-Left> MoveRight < Right> SelectRight < Shift-Right> SelectRectRight < Shift-Alt-Right> MoveRightWord < Control-Right> SelectRightWord < Shift-Control-Right> MoveUp < Up> SelectUp < Shift-Up> SelectRectUp < Shift-Alt-Up> MoveUpParagraph < Control-Up> SelectUpParagraph < Shift-Control-Up> MoveDown < Down> SelectDown < Shift-Down> SelectRectDown < Shift-Alt-Down> MoveDownParagraph < Control-Down> SelectDownParagraph < Shift-Control-Down> MoveLineStart < Home> SelectToLineStart < Shift-Home> MoveTextStart < Control-Home> SelectToTextStart < Shift-Control-Home> MoveLineEnd < End> SelectToLineEnd < Shift-End> MoveTextEnd < Control-End> SelectToTextEnd < Shift-Control-End> MovePageUp < Prior> SelectToPageUp < Shift-Prior> MovePageLeft < Control-Prior> MovePageDown < Next> SelectToPageDown < Shift-Next> MovePageRight < Control-Next> SetSelectionMark < Control-space>,< Select> SelectToMark < Shift-Control-space>,< Shift-Select>
SelectAll < Control-a> SelectionShiftLeft < Control-comma> SelectionShiftLeftTab < Control-Alt-comma> SelectionShiftRight < Control-period> SelectionShiftRightTab < Control-Alt-period>
Ins < Insert> Enter < Return> AutoIndentEnter < Control-Return> NoAutoindentEnter < Shift-Return> Del < Delete> BackSpace < BackSpace> DeleteToWordStart < Shift-BackSpace> DeleteToWordEnd < Shift-Delete> DeleteToLineStart < Alt-BackSpace> DeleteToLineEnd < Alt-Delete> DeleteWord < Control-BackSpace> DeleteLine < Control-Delete>
InsertControlCode < Control-Escape>
FocusNext < Control-Tab> FocusPrev < Shift-Control-Tab>
FlashMatchingChar < Control-b> RemoveMatch < Control-B> FindMatchingChar < Control-j> JumpToMatchingChar < Control-J>
Escape < Escape>
Tab < Tab>
LeftTab < Shift-Tab>
Copy < Control-c>
Cut < Control-x>
Paste < Control-v>
InlinePaste < Control-V>
Undo < Control-z>
Redo < Control-Z>
Destroy < Destroy>
MenuSelect < Alt-KeyPress>
* * Public methods.
_$widget_->*mouseSetInsert*
_$widget_->*museSelect*
_$widget_->*mouseSelectWord*
_$widget_->*mouseSelectLine*
_$widget_->*mouseSelectAdd*
_$widget_->*mouseSelectAddWord*
_$widget_->*mouseSelectAddLine*
_$widget_->*mouseSelectAutoScan*
_$widget_->*mouseSelectAutoScanStop*
_$widget_->*mouseMoveInsert*
_$widget_->*mouseRectSelection*
_$widget_->*mouseMovePageTo*
_$widget_->*mouseMovePage*
_$widget_->*mousePasteSelection*
_$widget_->*moveLeft*
_$widget_->*selectLeft*
_$widget_->*selectRectLeft*
_$widget_->*moveLeftWord*
_$widget_->*selectLeftWord*
_$widget_->*moveRight*
_$widget_->*selectRight*
_$widget_->*selectRectRight*
_$widget_->*moveRightWord*
_$widget_->*selectRightWord*
_$widget_->*moveUp*
_$widget_->*selectUp*
_$widget_->*selectRectUp*
_$widget_->*moveUpParagraph*
_$widget_->*selectUpParagraph*
_$widget_->*moveDown*
_$widget_->*selectDown*
_$widget_->*selectRectDown*
_$widget_->*moveDownParagraph*
_$widget_->*selectDownParagraph*
_$widget_->*moveLineStart*
_$widget_->*selectToLineStart*
_$widget_->*moveTextStart*
_$widget_->*selectToTextStart*
_$widget_->*moveLineEnd*
_$widget_->*selectToLineEnd*
_$widget_->*moveTextEnd*
_$widget_->*selectToTextEnd*
_$widget_->*movePageUp*
_$widget_->*selectToPageUp*
_$widget_->*movePageLeft*
_$widget_->*movePageDown*
_$widget_->*selectToPageDown*
_$widget_->*movePageRight*
_$widget_->*setSelectionMark*
_$widget_->*selectToMark*
_$widget_->*selectAll*
_$widget_->*selectionShiftLeft*
_$widget_->*selectionShiftLeftTab*
_$widget_->*selectionShiftRight*
_$widget_->*selectionShiftRightTab*
_$widget_->*ins*
_$widget_->*enter*
_$widget_->*autoIndentEnter*
_$widget_-> *noAutoindentEnter*
_$widget_->*del*
_$widget_->*backSpace*
_$widget_->*deleteToWordStart*
_$widget_->*deleteToWordEnd*
_$widget_->*deleteToLineStart*
_$widget_->*deleteToLineEnd*
_$widget_->*deleteWord*
_$widget_->*deleteLine*
_$widget_->*insertControlCode*
_$widget_->*focusNext*
_$widget_->*focusPrev*
_$widget_->*flashMatchingChar*
_$widget_->*removeMatch*
_$widget_->*findMatchingChar*
_$widget_->*jumpToMatchingChar*
_$widget_->*escape*
_$widget_->*tab*
_$widget_->*leftTab*
_$widget_->*copy*
_$widget_->*cut*
_$widget_->*paste*
_$widget_->*inlinePaste*
_$widget_->*undo*
_$widget_->*redo*
_$widget_->*destroy*
_$widget_->*menuSelect*
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-T/15.6/noarch |