aboutsummaryrefslogtreecommitdiffhomepage
path: root/parser.h
AgeCommit message (Collapse)AuthorFilesLines
2012-12-04autoconf preparation: move everything into src/ subdirRobin Haberkorn1-266/+0
2012-12-04search and replace command (FS)Robin Haberkorn1-4/+7
* makes use of Scintilla selections, so their usage has been improved * search commands preserve selection on termination (escape) * selections are restored on rubout * search-replace command makes use of the Insert command's state (may serve as a base class now) but does not pop additional values from stack (like "I" does)
2012-12-03refactored search command (states): they are now in a separate search.cpp fileRobin Haberkorn1-37/+0
2012-12-03first draft of N command based on SRobin Haberkorn1-2/+12
2012-11-24allow symbolic names (symbols) being specified for the scintilla (ES) commandRobin Haberkorn1-11/+22
* 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-21support "\" and <n>\ commands to insert and read integers in the current ↵Robin Haberkorn1-0/+4
radix from/to the buffer * uncommon radices are allowed but reading stops on non-alphanumeric characters (and characters on allowed by the current radix)
2012-11-20cleanup macro execution functions: common namespace, Execute::file() uses ↵Robin Haberkorn1-4/+7
Execute::macro()
2012-11-20local Q-Register tables; :M commandRobin Haberkorn1-6/+12
* 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-1/+3
matching *balanced* "}" this eases writing nested macros
2012-11-20disable ^U string building characters (by default)Robin Haberkorn1-1/+4
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-20Scintilla command ES accepting string parameter: if empty, pop value from ↵Robin Haberkorn1-0/+6
stack otherwise pass string
2012-11-16support different kinds of runtime errors (using C++ exceptions)Robin Haberkorn1-22/+61
* also added some additional range checks (e.g. X command)
2012-11-15added Interface class to ease porting SciTECO to other platforms (toolkits)Robin Haberkorn1-0/+3
* will support Scintilla with Scinterm/NCurses * changes are in such a way that the generated machine code should have almost no overhead compared to the previous implementation (at least when compiled with optimizations)
2012-11-14error checking and colon modifier support for lots of commandsRobin Haberkorn1-3/+3
2012-11-13<n>W, <n>V, <n>Y commandsRobin Haberkorn1-0/+1
based on Scintilla editor key commands, so they will automatically adopt to Scintilla setting changes
2012-11-13added support for string match characters (match spec to regexp compiler)Robin Haberkorn1-0/+13
2012-11-13<x[,y]>S...$ command (only regexp searching at the moment)Robin Haberkorn1-0/+14
2012-11-12distinguish between GOTO, LOOP and CONDITIONAL parse-only modes: fixes loop ↵Robin Haberkorn1-2/+4
branching in conditionals e.g. <0"=1;'...do something...> now works as expected
2012-11-11<x,y>Xq command, automatic profile munging, explicit munging, commandline ↵Robin Haberkorn1-0/+1
option processing, unhandled commandline options in default buffer
2012-11-11automatic support for string building charactersRobin Haberkorn1-0/+24
* also improved <n>I...$ insertion of chars from stack
2012-11-11implemented conditionals (<n>"x...|...')Robin Haberkorn1-0/+9
2012-11-11implemented F<, F>, F' and F| (flow) commandsRobin Haberkorn1-0/+9
2012-11-11Q-Register table and EQx commandRobin Haberkorn1-1/+21
2012-11-10use namespace "States" instead of "states" structureRobin Haberkorn1-12/+7
has several advantages * better to read * namespace can be "extended" from everywhere allowing the declaration of states in the files that implement them * include file mess could be cleaned up a bit
2012-11-10filename autocompletion using <CTRL/T> and <TAB>Robin Haberkorn1-0/+3
* <TAB> autocompletion only in specified states * GtkInfoPopup widget to display possible completions, written using Gob2
2012-11-08added buffer ring and preliminary EB...$ implementationRobin Haberkorn1-0/+2
* undoing supported * does not yet support globbing
2012-11-08EX commandRobin Haberkorn1-0/+9
2012-11-08insert (I) and <TAB> commands implementedRobin Haberkorn1-0/+26
* StateExpectString does not yet handle string building chars
2012-11-08added <CNTRL/x> and ^x commandsRobin Haberkorn1-0/+14
2012-11-08added support for labels, including the goto label tableRobin Haberkorn1-0/+18
* uses BSD tree macros, might later be abstracted to a C++ table class
2012-11-07additional commands implementedRobin Haberkorn1-0/+1
2012-11-07undo stack enable/disable, parse-only mode, colon modifiers evaluationRobin Haberkorn1-4/+8
2012-11-07add helper function to initialize transition tableRobin Haberkorn1-0/+12
2012-11-07check bounds when accessing the transitions tableRobin Haberkorn1-12/+1
2012-11-07fixed "-" processing and improved C command, added R commandRobin Haberkorn1-0/+2
2012-11-06initial commit of SciTECO based on THECORobin Haberkorn1-0/+45