jtamate added a comment.

  In D12016#257862 <https://phabricator.kde.org/D12016#257862>, @cullmann wrote:
  
  > Actually, given the functionality is only used there, if that code is in 
the view or in that helper class makes no real difference, or?
  
  
  I've tried to extend KateViewInternal in such a way that positionFromCursor 
in KateViewAccessible becomes unnecessary, but it became a mess.
  The problem is that all the "coordinates" used there are Cursors, that are in 
the form line+column. 
  But in KateViewAccessible it uses characters from the beginning, and caching 
only in one place (positionFromCursor) does not create a mess.

REPOSITORY
  R39 KTextEditor

REVISION DETAIL
  https://phabricator.kde.org/D12016

To: jtamate, #kate, cullmann, #frameworks
Cc: anthonyfieroni, mwolff, brauch, cullmann, #frameworks, michaelh, 
kevinapavew, ngraham, bruns, demsking, sars, dhaumann

Reply via email to