aboutsummaryrefslogtreecommitdiffhomepage
path: root/interface-ncurses.cpp
AgeCommit message (Collapse)AuthorFilesLines
2012-12-04autoconf preparation: move everything into src/ subdirRobin Haberkorn1-426/+0
2012-12-04refactoring: split qbuffers.cpp|h into a q-registers (qregisters.cpp) and ↵Robin Haberkorn1-1/+2
Buffer ring part (ring.cpp)
2012-11-25NCURSES: fixed popup lines calculationRobin Haberkorn1-4/+9
use the ceiling of the number of entries divided by the calculated number of columns, ensuring that just enough lines to display all the entries are reserved.
2012-11-24NCURSES: ensure that info popup is not too large for screenRobin Haberkorn1-3/+15
* print "..." at end of list if not all entries can be displayed because the entire screen is already covered
2012-11-24support auto-completion of symbols in the scintilla command (ES)Robin Haberkorn1-4/+6
* does not yet handle case-insensitive completions * does not handle omitting of the SCI_ prefix
2012-11-23fixed ENTER processing on PDCurses: we get ENTER as a carriage returnRobin Haberkorn1-0/+1
2012-11-22support PDCurses/Win32ARobin Haberkorn1-21/+54
* terminal resizing must be enabled explicitly * endwin() does not work as expected, so don't use it * messages may always be sent to stdout/stderr * patching Scinterm was necessary: it did not expect COLORS > 8. will still build with unpatched versions
2012-11-22support PDCurses user-resizing of the terminalRobin Haberkorn1-0/+5
* there might be curses implementations that don't support KEY_RESIZE at all * PDCurses does but only with the X11 and SDL versions * on Windows, the console version might use the SDL DLL (by replacing pdcurses.dll) so it's fair to keep the window resizing code compiled into the binary. * also it's necessary to call resize_term() to update internal structures * should also work with the Win32a port of PDCurses
2012-11-22PDCurses compatibility changesRobin Haberkorn1-2/+10
standard curses implementation on Windows (MinGW32) * may also be used on Unix, to build X11 versions using XCurses * cannot do the avoid-screen-refresh thing on PDCurses
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 Haberkorn1-2/+15
mean an empty line sent to stdout)
2012-11-16NCURSES interface: fix message displaying in batch mode (avoid any refresh)Robin Haberkorn1-1/+13
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-16keep a buffer dirty flag and display infos about the current buffer in the ↵Robin Haberkorn1-52/+106
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-15NCurses interface: support terminal resizingRobin Haberkorn1-6/+38
* 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-15support stdio for curses interfaceRobin Haberkorn1-8/+31
* ./sciteco commandline help works now * messages issued during batch-mode macro processing are written to stdout/stderr * output can be redirected
2012-11-15added NCurses user interface (based on Scinterm)Robin Haberkorn1-0/+226
* terminal resizing not yet supported * file popups are sort of a hack