editor part
John Birch
jbb at kdevelop.org
Mon Sep 11 09:38:32 UTC 2000
On Sun, 10 Sep 2000, you wrote:
> I've taken a short look at the editor part and was quite surprised that
> it loads a nested KTextEditor. A potential problem I see here is that
> the editor part needs to have a deep knowledge about the editor itself
> (for the breakpoint/bookmark bar). First, it certainly needs the font
> size - not a problem I guess. But then it also assumes that the line
> number is linear in the y coordinate. This is not the case for
> folding editors. It isn't even the case for editors who wrap around
> lines longer than the window, e.g. emacs.
Yes - hmmm
> An alternative may be to implement the breakpoint bar directly in the
> editor. As kvim seems to be the only kwrite replacement in sight
> (from hearsay), the interesting question is whether it already
> supports something like this?
Don't forget kfte. And this is the problem - We could restrict the editor to
only a select few, and add the code for the icon border to those. But that
really doesn't seem right to me. Why should an editor have the baggage of the
icon boarder and breakpoint code.
You're right though - there's some serious sh*t here. Don't tell me I'm going
to have to think...
jbb
More information about the KDevelop-devel
mailing list