[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 63289] context not able to save data
From:       Jan Villat <kde () djdie ! net>
Date:       2004-05-15 9:20:51
Message-ID: 20040515092051.15759.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
      
http://bugs.kde.org/show_bug.cgi?id=63289      




------- Additional Comments From kde djdie net  2004-05-15 11:20 -------
Dynamic-created contexts behave as if they were static ones, so they aren't deleted \
when they become unused but only at the destruction of the KateHighlighting object.

The advantage is that dynamic-contexts with the same 'argument' (i.e. text captured \
by the calling rule) are all shared.

I don't really understand your first comment: do you mean there are cases where hl \
isn't correctly handled?

In the case of a heredoc:

* if you edit the starting tag, it changes the context at the end of the line (maybe \
it creates a new one, maybe it uses an old one having the same argument). This \
context-change cause highlight to be recomputed for the following line (and probably \
till the end of the document because there'll be no closing tag!)

* if you edit the closing tag, it's of course ok.

If you ask to, I'll try to modify the patch so that dynamic contexts are deleted when \
they become unused.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic