D29680: Fix modified line marker in kate minimap
    David Edmundson 
    noreply at phabricator.kde.org
       
    Tue May 12 15:39:34 BST 2020
    
    
  
davidedmundson created this revision.
davidedmundson added a reviewer: Kate.
Herald added projects: Kate, Frameworks.
Herald added subscribers: kde-frameworks-devel, kwrite-devel.
davidedmundson requested review of this revision.
REVISION SUMMARY
  Our pixmap is the size of the number of lines in the document. When
  rendering the pixel for the modified marker we want to take a ratio of
  currentline to lines in the pixmap.
  
  The height of the groove isn't relevant.
TEST PLAN
  Create a 10000 line empty document
  Added some line in the middle
  New line and orange dot appeared in the same place
REPOSITORY
  R39 KTextEditor
BRANCH
  master
REVISION DETAIL
  https://phabricator.kde.org/D29680
AFFECTED FILES
  src/view/kateviewhelpers.cpp
To: davidedmundson, #kate
Cc: kwrite-devel, kde-frameworks-devel, rrosch, LeGast00n, cblack, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20200512/5480963e/attachment.htm>
    
    
More information about the KWrite-Devel
mailing list