diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2015-02-19 01:15:25 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2015-02-19 01:15:25 +0100 |
commit | c7b2da8c041fec7637204620b0970c2c91d76d19 (patch) | |
tree | 564f497713d1bb6802ef3233a10b63f8f5e1f002 /src/ioview.cpp | |
parent | 2900fcbb73b9f80f9a29adef6b0604e362c215c7 (diff) | |
download | sciteco-c7b2da8c041fec7637204620b0970c2c91d76d19.tar.gz |
work around Scintilla character representation drawing bug
* since SCI_SETDOCPOINTER resets character representations
(should probably be submitted as a bug to Scintilla)
we have to reset the representations each time we load
a q-register into the q-reg view.
* since the SCI_SETREPRESENTION call does not do any redrawing
(and it would be very slow if it did), the lines with control
characters were laid out wrong (too much spaces).
This happened when editing a q-reg or the command-line.
* Since it is not obvious how to fix Scintilla's behaviour here,
we work around the issue by temporarily disabling the layout
cache.
Diffstat (limited to 'src/ioview.cpp')
0 files changed, 0 insertions, 0 deletions