D14483: SymbolView Fix: Find current item when symbol is in first line

loh tar noreply at phabricator.kde.org
Mon Jul 30 13:44:53 BST 2018


loh.tar created this revision.
loh.tar added reviewers: Kate, sars.
Restricted Application added a project: Kate.
Restricted Application added a subscriber: kwrite-devel.
loh.tar requested review of this revision.

REVISION SUMMARY
    This happens really rare because mostly is some comment above some symbol,
    like copyright notice or shebang, so this bug was noticed while coding
    a new parser type, plaint-text-parser

TEST PLAN
  Open some source file and delete all above some function, so they starts in line 1 -> The selection in the symbol view disapears
  Click from somewhere below these first function back into the first, the item is not selected.
  
  With this patch it is.

REPOSITORY
  R40 Kate

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

AFFECTED FILES
  addons/symbolviewer/plugin_katesymbolviewer.cpp

To: loh.tar, #kate, sars
Cc: #kate, sars, kwrite-devel, michaelh, kevinapavew, ngraham, demsking, cullmann, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20180730/5cd5cb39/attachment.html>


More information about the KWrite-Devel mailing list