aboutsummaryrefslogtreecommitdiffhomepage
path: root/teco.ini
AgeCommit message (Collapse)AuthorFilesLines
2014-11-24introduced $SCITECOCONFIG env variable, and set different default for ↵Robin Haberkorn1-55/+0
$SCITECOPATH on Windows * $SCITECOCONFIG has been introduced, so have a macro-accessible location for the profile, buffer session etc. This is set to the program dir on Windows. That way, the config files will be found, regardless of the current working dir, but it may also be set up for Unix-like environments on Windows. * $SCITECOPATH defaults to the program dir + "/lib" now on Windows. * The default profile is now always called ".teco_ini". Also on Windows. Platform differences like this would need to be documented. * The sample teco.ini has been renamed to "sample.teco_ini" for clarity
2014-11-22allow setting the "*" register as an alternative to nEBRobin Haberkorn1-1/+1
this is more consistent with SciTECO's idea of abstract registers and allows the currend buffer to be saved on the Q-Register stack. This allows the idiom: [* ! ...change current buffer... ! ]*
2014-11-22added a buffer session module (session.tes)Robin Haberkorn1-8/+21
This is a simple and straight-forward implementation of buffer sessions in SciTECO. A session is merely a SciTECO script that opens files when executed (and restores properties). The current session is identified by this script's filename in Q-Register "session.path": ~/.teco_session by default. Users may set "session.path" to manage different profiles. An abstraction of session "names" is not provided. Users are expected to hack these on their own. For the common task of having one session per profile, the "session.git" macro is provided. It set's up the current session relative to the current Git repository. This will create ".teco_session" files in the root of Git repositories, that may be added to a global ignore pattern (or they may even be versioned!)
2014-11-20renamed ED hook register to "ED" and protect ED hook executionsRobin Haberkorn1-1/+1
SciTECO commands usually only take parameters from the stack that they need. Without protecting the ED hook execution with brace operators, additional arguments not consumed by the hook-dispatching command are passed into the ED hook invocation. Also an ED hook macro could leave additional values on the expression stack (by accident). All of this may lead to undefined behaviour if ED hooks are involved.
2014-11-19added first draft of new modular lexer systemRobin Haberkorn1-4/+17
2014-11-16adapted sample teco.ini: margin setup must be done for every new documentRobin Haberkorn1-8/+11
2014-11-02changed syntax for long Q-Register names: use [] brackets instead of {}Robin Haberkorn1-2/+2
this breaks many existing scripts, and means you may have to rebuild SciTECO with ./configure --enable-bootstrap The syntax of SciTECO might change in backwards-incompatible until version 1.0 is released.
2013-03-20use 0,xED instead of ED#xED in teco.iniRobin Haberkorn1-2/+2
2013-02-25EM...$ command to read macro from file and execute immediately (just like "M")Robin Haberkorn1-1/+1
* useful for using macro libraries
2013-02-22added some default function key macrosRobin Haberkorn1-0/+5
2013-02-22fixed margin configuration with GTK+ interfaceRobin Haberkorn1-3/+6
* line-number style must be explicitly set, even after CLEARALLSTYLES * margin widhts are in pixels (except in Scinterm), so we must determine the pixels requiered by a number of digits (e.g. 5 digits)
2013-02-15install standard macros into special standard library path (pkgdatadir/lib)Robin Haberkorn1-0/+18
* SCITECOPATH environment variable defaults to this directory * manpage updated * default teco.ini updated: no need to generate it anymore
2013-01-27revised lexer configuration using SciTE property files and Textadept's ↵Robin Haberkorn1-92/+0
terminal color definitions * lexer config is now in separate file installed into the package data dir, so it can be excluded from the teco.ini template. * teco.ini is generated so it can load an installed lexer.tes as ED hook (can still be dropped into the user's home and will work immediately)
2012-11-24allow symbolic names (symbols) being specified for the scintilla (ES) commandRobin Haberkorn1-27/+29
* new syntax is <[lParam,[wParam,[msg]]]>ES[msg[,wParam[,lParam]]]$[lParam string]$ * symbols are matched case-insensitive, the leading SCI_ for message symbols may be omitted * added support for more multiple string arguments (for commands in general) * fixed "C conditional: succeeds for every alpanumeric character, dot, dollar or underscore * added SCLEX_ and SCE_ constants as symbols * updated teco.ini: using symbolic names is preferred since that way code does not depend on the current Scintilla version
2012-11-20enable linenumbers and folding marks in profileRobin Haberkorn1-2/+5
2012-11-20some reasonable syntax highlighting defaults for C++ and MakeRobin Haberkorn1-8/+42
2012-11-20local Q-Register tables; :M commandRobin Haberkorn1-19/+20
* munged files use the same local Q-Registers as commandline * :M calls macro without new set of local registers (local register names refer to the parent macro level) * only .x names accepted at the moment. for string building characters, this will like stay that way (cannot refer to extended/long names)
2012-11-20support special "{" alternate escape character: is only terminated by a ↵Robin Haberkorn1-2/+2
matching *balanced* "}" this eases writing nested macros
2012-11-20disable ^U string building characters (by default)Robin Haberkorn1-5/+5
some method to reenable it will be developed in the future (perhaps using a separate command, or a special modifier which reverses a string commands default handling of building character)
2012-11-20minor teco.ini simplificationsRobin Haberkorn1-3/+3
2012-11-20QRegister push-down stack: [x and ]x commandsRobin Haberkorn1-23/+26
* rubout is quite tricky but ensures minimal memory copying
2012-11-20ED flags making 0-Register hook execution configurableRobin Haberkorn1-2/+46
* teco.ini updated as well
2012-11-16file closing must be enforced now (teco.ini)Robin Haberkorn1-1/+1
2012-11-14default teco ini fileRobin Haberkorn1-0/+5
* should serve as a template to the user