SETEdit
From FrugalWiki
Dansk – Deutsch – English – Español – Français – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Polski – Português – Română – Slovenský – Suomi – Svenska – Türkçe – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어
Contents |
SETEdit
SET's Editor, a friendly text editor
It has an intuitive interface built in Turbo Vision with useful features for programmers : class browser, word completion, code pages, calculator, ASCII chart, export syntax highlighted HTML.
Features
- Syntax highlighting ( own rudimentary rules )
- User commands ( Small macro language based on Lisp )
- User defined key bindings
Installation
Documentation
- Built-in context-sensitive help system using InfView ( Also accessible from outside as info page. )
Macros
SETEdit can handle two kind of macros :
- Pseudo macros - Actually they are called code snippets in other editors. They support placeholders and can execute sLisp macros too.
- sLisp macros - Scripts executed by an embedded interpreter. The API allows simple manipulation of the edited document.
sLisp macros
They are stored in a macros.slp file in any of the configuration locations. Running a macro can be done from the Macro | Choose command, using a dedicated menu command, if one was defined in a menubind.smn file or using a key combination if one was bound in a macros.slp file or with the Tool&Ops | Options | Keyboard | Key assignment command.
Move line up
(defmacro "MoveLineUp" (eval (setv "pos" (GetCursorX)) (SendCommands cmcMarkLine) (setv "line" (GetSelection)) (SendCommands cmcDelLine cmcLineUp) (InsertText line) (SendCommands cmcLineUp) (SetCursorXY pos) ) )
Move line down
(defmacro "MoveLineDown" (eval (setv "pos" (GetCursorX)) (SendCommands cmcMarkLine) (setv "line" (GetSelection)) (SendCommands cmcDelLine cmcLineDown) (InsertText line) (SendCommands cmcLineUp) (SetCursorXY pos) ) )
Links
- http://setedit.sourceforge.net/ Official site
- http://sourceforge.net/projects/setedit/ SourceForge project
- http://en.wikipedia.org/wiki/SETEDIT Wikipedia article
- http://frugalware.org/packages/118279 Frugalware package