Text editor functions

Top 

 

The text editor functions manipulate with text in the Source You can start the script files with the custom hot keys (for more about this, see ).

All text editor functions assume that the text editor window is active, when function is called, so they do not receive the window handle as a parameter unlike other functions that manipulate windows in ChipProg.

The ChipProg package includes several examples of script files performing useful commands. The sources are located in the KEYCMD sub-directory.

Note that line and column numbers begin from 1.

GotoXY

Up

Down

Left

Right

Tof

Eof

Eol

BackSpace

Cr

DelLine

DelChar

CurChar

GetLine

ForwardTill

ForwardTillNot

_GetWord

WordLeft

WordRight

FirstWord

SetMark

GetMark

Text

BlockBegin

BlockEnd

BlockOff

BlockCopy

BlockFastCopy

BlockDelete

BlockMove

BlockPaste

Search

SearchReplace

SetFileName

GetFileName

SaveFile

[****]

OpenEditorWindow

Text editor built-in variables

InsertMode

CaseSensitive

WholeWords

[****]

BlockCol1

BlockCol2

BlockLine1

BlockLine2

BlockStatus

CurLine

CurCol

LastFoundString