Age | Commit message (Collapse) | Author | Files | Lines |
|
* profile is called "teco.ini" under Windows
|
|
directory
* on Windows, it might still be a good idea to use the "config" directory (have to test it)
|
|
Execute::macro()
|
|
* 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)
|
|
|
|
callstack since macro invocations result in nested macro_execute() calls
otherwise a macro could set labels with program counters which are invalid in other macros/the command line
|
|
* teco.ini updated as well
|
|
features
|
|
destructive commands
* the only thing gained from (partially) using that mechanism is that no explicit calls to set the dirty-status of a buffer are necessary
* however it had many disadvantages:
* setting the buffer clean had to be done manually anyway (see previous commits)
* when changing Q-Registers without affecting the current document, a flag had to be used to prevent setting the current document dirty
* last but not least, it introduced a dependency on the order of the destructive operation and its UNDO token.
* the UNDO token could trigger a SAVEPOINTLEFT notification resulting in additional rubout tokens to be pushed on the stack which screws
the rubout stack. this can be avoided by clever ordering of the operations
* using an explicit ring.dirtify() is therefore much better
|
|
Q-Register is (temporarily) edited without changing the current document
|
|
|
|
* also clear goto table after munging
|
|
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
|
|
* ./sciteco commandline help works now
* messages issued during batch-mode macro processing are written to stdout/stderr
* output can be redirected
|
|
* hardcoding the colors is only preliminary
* focus must be set in interface
|
|
the "*" (if it wants to)
|
|
add an options group to the help menu
|
|
* 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)
|
|
* 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
|
|
* makes it possible to write standalone scripts
* message echoing is only a preliminary way of stdio
|
|
option processing, unhandled commandline options in default buffer
|
|
|
|
|
|
* <TAB> autocompletion only in specified states
* GtkInfoPopup widget to display possible completions, written using Gob2
|
|
* undoing supported
* does not yet support globbing
|
|
|
|
|