aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2014-11-14 02:43:23 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2014-11-16 23:34:24 +0100
commit8be99d3863a305046f0133116782734e87be0822 (patch)
tree4954d200a10ca96123347dce9af089806b9a13f9 /src/Makefile.am
parentd9f04a78bf8679afc0c656f3440beb73b2dc8744 (diff)
downloadsciteco-8be99d3863a305046f0133116782734e87be0822.tar.gz
first working version of the one-view-per-buffer design
The user interface provides a Scintilla view abstraction and every buffer is based on a view. All Q-Register strings use a single dedicated view to save memory and initialization time when using many string registers. * this means we can finally implement a working lexer configuration and it only has to be done once when the buffer is first added to the ring. It is unnecessary to magically restore the lexer styles upon rubout of EB (very hard to implement anyway). It is also not necessary to rerun the lexer configuration macro upon rubout which would be hard to reconcile with SciTECO's basic design since every side-effect should be attached to a character. * this means that opening buffers is slightly slower now because of the view initialization * on the other hand, macros with many string q-reg operations are faster now, since the document must no longer be changed on the buffer's view and restored later on. * also now we can make a difference between editing a document in a view and changing the current view, which reduces UI calls * the Document class has been retained as an abstraction about Scintilla documents, used by QRegister Strings. It had to be made virtual, so the view on which the document is created can be specified by a virtual function. There is no additional space overhead for Documents.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 60346bd..4833b6e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -33,7 +33,7 @@ libsciteco_base_a_SOURCES = main.cpp sciteco.h \
goto.cpp goto.h \
rbtree.cpp rbtree.h \
symbols.cpp symbols.h \
- interface.h
+ interface.cpp interface.h
nodist_libsciteco_base_a_SOURCES =
if INTERFACE_GTK