Summary: | selected text is sometimes bold | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Diggory Hardy <kde2> |
Component: | syntax | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian unstable | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Diggory Hardy
2011-04-13 19:23:48 UTC
I'm pretty sure this is because you have enabled the "Highlight Selection" plugin (Extensions in the settings dialog). Right? Yes, without this plugin the weird highlighting doesn't occur. (I don't understand what the highlighting is supposed to achieve, but never mind.) the highlight selection highlights all occurences of the selected text in the document. In the sentence above, selecting the first "the" also highlighs the seconde "the". It's mainly useful for programming, then the variable you have selected is highlighted everywhere. Can this be closed? I don't see a real bug... Ah, now I understand better what that plug-in is for (very useful, btw). Then could the highlighter only background highlight text when the font isn't monospace (i.e. don't make it bold)? Give this a try: 1. select a non-monospace font 2. open a document 3. highlight a word by dragging with the mouse, from beginning to end The last step is less than straight-forward since as soon as the word has been selected, it will be made bold and it's end will move. Git commit 0606ad7ed195add21335ff7d8467a1dbd1424be4 by Dominik Haumann. Committed on 16/04/2011 at 13:31. Pushed by dhaumann into branch 'master'. do not make matches bold BUG: 270861 M +2 -1 part/plugins/hlselection/hlselectionplugin.cpp http://commits.kde.org/kate/0606ad7ed195add21335ff7d8467a1dbd1424be4 Git commit 89e6eb60dc9a66b317a893bf6790febd50fb8810 by Dominik Haumann. Committed on 16/04/2011 at 13:33. Pushed by dhaumann into branch 'KDE/4.6'. do not make matches bold, as non-fixed font jumps around CCBUG: 270861 M +0 -1 kate/plugins/hlselection/hlselectionplugin.cpp http://commits.kde.org/kdelibs/89e6eb60dc9a66b317a893bf6790febd50fb8810 |