aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/view.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2021-10-11 08:43:33 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2021-10-11 08:43:33 +0300
commit8baa1b3ebe163de3a55696e50d49f160529473b3 (patch)
treec7d54d763c5743765206ab125fffc28cea9d95d6 /src/view.h
parent6e67f5a682ff46d69888fec61b94bf45cec46721 (diff)
downloadsciteco-8baa1b3ebe163de3a55696e50d49f160529473b3.tar.gz
optimized character representation setting
* Esp. with the new Scintilla version, the representation setting as part of every SCI_SETDOCPOINTER has turned out to be a performance bottleneck. * The new Scintilla has a custom tweak/patch that disables any automatic representation setting in Scintilla itself. It is now sufficient to initialize the SciTECO-style representations only once in the lifetime of any view.
Diffstat (limited to 'src/view.h')
-rw-r--r--src/view.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/view.h b/src/view.h
index b666d0a..a918c00 100644
--- a/src/view.h
+++ b/src/view.h
@@ -45,9 +45,6 @@ void undo__teco_view_ssm(teco_view_t *, unsigned int, uptr_t, sptr_t);
void teco_view_set_representations(teco_view_t *ctx);
/** @memberof teco_view_t */
-void undo__teco_view_set_representations(teco_view_t *);
-
-/** @memberof teco_view_t */
static inline void
teco_view_set_scintilla_undo(teco_view_t *ctx, gboolean state)
{