On 25/11/2012 15:42, Evandro Borracini wrote:
Thanks Dimitar,
I've updated the patch to always call document_set_text_changed() for BOM/ENCODING. For UNDO_SCINTILLA, document_set_text_changed() is called only at the first document change.
I've tested and it worked fine for me. The latency while typing is gone. As expected, we still have a small latency at the first key hit but that doesn't create any trouble at all.
The new patch is below.
Thanks, applied (with minor edits). I had trouble applying the patch as I had to convert it to tab indentation first. (Also in future please attach patches as a file instead of inline, as this is easier for us and more robust).