I'll see if I can make some time soon to learn Lua. I didn't expect an immediate fix for such a sporatic and strange problem, I just wanted to make the case known. Anyway, I still need to toy with the style settings and see what happens. I'll report back if I can figure anything concrete out. Thanks!

/S

On 8/18/05, Neil Hodgson <[EMAIL PROTECTED]> wrote:
Steven Cummings:

> The problem persists in the current version (1.65) and backwards through
> 1.59. I'm certain I was using 1.62 or 1.63 before things stopped working, so
> I guess this narrows it down to a SciTE configuration setting or some
> setting on my machine.

   This problem appears to be sensitive to font choice and environment
(OS and device driver versions). There appears to be a limit to the
amount of text that can be drawn in one call and this limit may be in
pixels or in characters. Changing styles occasionally will cause
Scintilla to write more blocks and could avoid this. You could write a
lexer, reuse an existing lexer that sees some meaning in your data
(try the language menu), or write a Lua script that switches styles
occasionally.

   It is likely this can be fixed by breaking the text up into smaller
sections. This would add complexity to the code and added complexity
means more bugs. Breaking should be sensitive to multi-byte characters
and multi-character clusters: the underlying graphics engine
understands these and so draws complex scripts, combining accents, and
ligatures correctly.

   The problem never happens to me! I don't want to work on a problem
that I can't actually see while fixing.

   Neil

_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest



--
Steven Cummings
[EMAIL PROTECTED]
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to