aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2012-11-16README.md for GithubRobin Haberkorn1-0/+57
2012-11-16ensure that infoline is correct on startupRobin Haberkorn1-1/+2
2012-11-16fixed clearing message line: do not display an empty message line (which can ↵Robin Haberkorn6-3/+27
mean an empty line sent to stdout)
2012-11-16changed default scintilla directoryRobin Haberkorn1-1/+1
in the most common setup, it will be found in the parent directory
2012-11-16clear message line after every keypressRobin Haberkorn1-0/+1
2012-11-16support different kinds of runtime errors (using C++ exceptions)Robin Haberkorn7-113/+174
* also added some additional range checks (e.g. X command)
2012-11-16NCURSES interface: fix message displaying in batch mode (avoid any refresh)Robin Haberkorn1-1/+13
2012-11-16file closing must be enforced now (teco.ini)Robin Haberkorn1-1/+1
2012-11-16support EF and EX arguments. FALSE (>= 0) means to refuse closing/exiting if ↵Robin Haberkorn3-0/+24
the current file / any file is dirty (modified) -EF and -EX may be used to enforce a close/quit without saving
2012-11-16NCURSES: simplified notification callback a bitRobin Haberkorn1-4/+2
unfortunately it's currently not possible to use the SCN_UPDATEUI notification to refresh the view only if necessary
2012-11-16empty Scintilla undo buffer on line termination and after mungingRobin Haberkorn2-0/+4
* also clear goto table after munging
2012-11-16keep a buffer dirty flag and display infos about the current buffer in the ↵Robin Haberkorn8-65/+261
interfaces (including the dirty flag) * was a bit tricky because the Scintilla SAVEPOINTS cannot be (fully) used * when a file is loaded or saved, a Scintilla SAVEPOINT is set * SAVEPOINTLEFT notifications are used to set a buffer dirty * SAVEPOINTREACHED notifications are useless since Scintilla does not consider the saves themselves to be undoable * GTK interface displays infos in window title bar * NCURSES interface has also been updated and cleaned up a bit. Infos are displayed in a new info line. * NCURSES: fixed popup display after terminal resizing
2012-11-16define some Autoconf-(config.h)-like PACKAGE_* macrosRobin Haberkorn1-0/+5
2012-11-15NCurses interface: support terminal resizingRobin Haberkorn5-10/+50
* currently, the message line is not remembered and reset on termresize * any open popup window will be drawn over by the other windows
2012-11-15install targetRobin Haberkorn1-0/+5
2012-11-15support stdio for curses interfaceRobin Haberkorn6-32/+86
* ./sciteco commandline help works now * messages issued during batch-mode macro processing are written to stdout/stderr * output can be redirected
2012-11-15ease changing the scintilla directoryRobin Haberkorn1-3/+4
2012-11-15minor Makefile cleanupRobin Haberkorn1-1/+3
2012-11-15minor change to avoid compiler warningRobin Haberkorn1-1/+1
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