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

List:       kwrite-devel
Subject:    About dyn. word warp
From:       Christoph Cullmann <cullmann () babylon2k ! de>
Date:       2002-03-29 13:08:53
[Download RAW message or body]

Hi,
I would suggest this way of doing the dyn. word wrap:

1. enhance  QIntDict <int> m_lineMapping;
 to  QIntDict <LineStruct> m_lineMapping;
 with class LineStruct { in line, int startCol, bool wrapped }

2. only allow to scroll to "real lines", which means that switching between 
dyn. wrap mode / no dyn. wrap wouldn't change the vertical scrollbar, as you 
can only scroll with it to real lines (like you can now in folding mode, but 
not to partial lines), this is as it emacs does and has a good performance  

Any other ideas ?

-- 
Christoph Cullmann
Kate/KDE developer
cullmann@kde.org
http://kate.kde.org


_______________________________________________
kwrite-devel mailing list
kwrite-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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