Is it posible, to get a macro for replace all words which are selected. But only from start of file until cursers place?
Thanks for helping!
Thanks for helping!
Code: Select all
InsertMode
ColumnModeOff
HexOff
UnixReOn
Clipboard 9
IfSel
Copy
Key LEFT ARROW
Key RIGHT ARROW
"~@#"
Top
GetString "Replace by:"
"~@@#
"
StartSelect
Find Select "~@#"
Find "^c"
Replace All SelectText "~@r#"
EndSelect
Top
Find RegExp "(.*)~@@#"
Replace "\1"
Top
StartSelect
Key END
EndSelect
Cut
Delete
Find "~@r#"
Replace All "^c"
Top
Find "~@#"
Delete
EndIf
Clipboard 0