aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2012-11-15added NCurses user interface (based on Scinterm)Robin Haberkorn3-9/+286
* terminal resizing not yet supported * file popups are sort of a hack
2012-11-15changed default colors and moved stuff into user interfaceRobin Haberkorn2-11/+19
* hardcoding the colors is only preliminary * focus must be set in interface
2012-11-15adapted Makefile to handle different user interfacesRobin Haberkorn2-8/+33
2012-11-15cleaned up command line updating: the interface is responsible for drawing ↵Robin Haberkorn5-13/+15
the "*" (if it wants to)
2012-11-15make it possible for interface classes to define a get_options() method to ↵Robin Haberkorn3-2/+17
add an options group to the help menu
2012-11-15changed save point file pattern to .teco-xxx-dddRobin Haberkorn2-2/+2
2012-11-15replaced remaining editor_msg() references with new Interface::ssm()Robin Haberkorn1-10/+11
2012-11-15added Interface class to ease porting SciTECO to other platforms (toolkits)Robin Haberkorn11-307/+452
* 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-15let Git ignore save point filesRobin Haberkorn1-0/+2
2012-11-15simplified popup type to gtk type mappingRobin Haberkorn1-11/+7
2012-11-14minor comment fixRobin Haberkorn1-1/+1
2012-11-14default teco ini fileRobin Haberkorn1-0/+5
* should serve as a template to the user
2012-11-14error checking and colon modifier support for lots of commandsRobin Haberkorn3-45/+165
2012-11-14expressions.find_op(), can be used test whether we are in a loop (although ↵Robin Haberkorn2-0/+14
that's inefficient)
2012-11-14simplified move_lines() a bitRobin Haberkorn1-2/+1
2012-11-14support rubout for EW command: if in undo mode, a save point is created so ↵Robin Haberkorn2-15/+133
the file can be replaced or removed when rubbing out EW
2012-11-13EF command to close a bufferRobin Haberkorn3-4/+54
can be rubbed out!!! this works because when a buffer is closed, it is not deallocated but transferred to the undo token object which then (if run) reinserts it into the ring list. if the undo token is destroyed before it is run (eg. <ESC><ESC> pressed), the buffer will finally be deallocated.
2012-11-13<n>W, <n>V, <n>Y commandsRobin Haberkorn2-0/+57
based on Scintilla editor key commands, so they will automatically adopt to Scintilla setting changes
2012-11-13support differen EOL modesRobin Haberkorn1-8/+17
* only <CR> was inserted into the command stream for Enter, which Scintilla always interpreted as <CR> * instead of interpreting the <CR> in the Insert command based on the EOL-Mode, always insert the current EOL into the command stream when Enter is pressed * inserting <CR> and <LF> independant of the EOL mode is still possible by using <CTRL/N> and <CTRL/K> respectively
2012-11-13minor simplificationRobin Haberkorn1-1/+1
2012-11-13when autocompleting, highlight files that are already in the bufferRobin Haberkorn1-4/+10
2012-11-13try to canonicalize paths to non-existent filesRobin Haberkorn2-9/+25
allows you to edit non-existing files with a predefined name. it is completely canonicalized when it is saved
2012-11-13added EW...$ commandRobin Haberkorn4-22/+113
* EW$ saves file with its current filename * EW<filename>$ saves file with under the specified filename (Save As) * files are stored with absolute paths in the ring
2012-11-13reset dot on search failureRobin Haberkorn1-5/+6
2012-11-13support :S...$ commandRobin Haberkorn1-0/+3
2012-11-13added support for string match characters (match spec to regexp compiler)Robin Haberkorn4-5/+254
2012-11-13fixed undoing of setting Q-Register stringRobin Haberkorn3-7/+20
2012-11-13Search command: use clever circular stack for the last (-n) matches for n < ↵Robin Haberkorn1-11/+9
0 in <n>S...$ * the requested number of occurrences is usually much smaller than the number of bytes in the document * still, (n) can be arbitrarily large, so allocate that stack
2012-11-13when doing a reverse search, allocate array of matches (since it can ↵Robin Haberkorn1-1/+3
currently get very large)
2012-11-13<x[,y]>S...$ command (only regexp searching at the moment)Robin Haberkorn4-3/+153
2012-11-12distinguish between GOTO, LOOP and CONDITIONAL parse-only modes: fixes loop ↵Robin Haberkorn3-18/+28
branching in conditionals e.g. <0"=1;'...do something...> now works as expected
2012-11-12allow munged macros to quit and echo messages on stdout/stderrRobin Haberkorn1-2/+21
* makes it possible to write standalone scripts * message echoing is only a preliminary way of stdio
2012-11-12fix: process @ modifier in PARSE_ONLY mode; fixes alternate string escapes ↵Robin Haberkorn1-1/+4
in parse only mode
2012-11-12various arithmetic expression fixes: SUB must have higher precedence than ↵Robin Haberkorn3-11/+11
ADD; fixed num_sign (unary minus) handling
2012-11-11<x,y>Xq command, automatic profile munging, explicit munging, commandline ↵Robin Haberkorn5-1/+130
option processing, unhandled commandline options in default buffer
2012-11-11automatic support for string building charactersRobin Haberkorn2-10/+135
* also improved <n>I...$ insertion of chars from stack
2012-11-11fixed positioning after changing the current bufferRobin Haberkorn1-17/+28
2012-11-11added <n>O...$ GOTO commandRobin Haberkorn3-2/+40
2012-11-11implemented conditionals (<n>"x...|...')Robin Haberkorn2-0/+91
2012-11-11implemented F<, F>, F' and F| (flow) commandsRobin Haberkorn3-4/+93
2012-11-11support for Qx, Ux, %x and Mx commandsRobin Haberkorn3-11/+129
* Mx does not yet use local Q-registers
2012-11-11DEBUG support for printing state change undo tokensRobin Haberkorn1-0/+8
2012-11-11use DEBUG macroRobin Haberkorn1-0/+2
2012-11-11^Ux...$ command: rubout does not yet work properlyRobin Haberkorn3-13/+75
2012-11-11support EQx<filename>$ command: load filename into Q register without ↵Robin Haberkorn3-12/+60
changing the current buffer
2012-11-11Q-Register table and EQx commandRobin Haberkorn6-6/+188
2012-11-11dump goto table only in DEBUG modeRobin Haberkorn1-0/+6
2012-11-11RBTree class (wrapper around BSD macros) - use for Goto tableRobin Haberkorn4-37/+298
* the other classes (Table, StringTable, StringTableUndo) do not yet work
2012-11-10use namespace "States" instead of "states" structureRobin Haberkorn7-41/+60
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-10use namespace for Modifiers instead of structureRobin Haberkorn1-14/+14