Author Topic: [SOLVED] Selection occurence highlighting stopped working  (Read 7417 times)

Offline zeroth

  • Multiple posting newcomer
  • *
  • Posts: 27
[SOLVED] Selection occurence highlighting stopped working
« on: November 13, 2013, 05:44:34 am »
CodeBlocks SVN 9435

I've been using codeblocks from svn for a long time, and some time ago this problem began. I used to be able to select a word, and every occurrence of that word would highlight for me. I miss that feature, is it just broken in SVN right now, or did the feature go away permenantly? I'm on linux, and I have tried deleting my ~/.codeblocks folder and it does not help.
« Last Edit: November 14, 2013, 11:58:08 pm by zeroth »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Selection occurence highlighting stopped working
« Reply #1 on: November 13, 2013, 08:50:40 am »
Build, install and enable the occurrence highlight plugin.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline zeroth

  • Multiple posting newcomer
  • *
  • Posts: 27
Re: Selection occurence highlighting stopped working
« Reply #2 on: November 14, 2013, 11:19:25 pm »
eh, I'm actually using the apt.jenslody.de/testing repository, not building on my own. I did this to more easily stay up to date. I guess that repo just doesn't package the Occurrence Highlighter plugin. It's not listed in the plugins manager.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Selection occurence highlighting stopped working
« Reply #3 on: November 14, 2013, 11:36:38 pm »
What is the output of "find /usr/ | grep occurrence"?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline zeroth

  • Multiple posting newcomer
  • *
  • Posts: 27
Re: Selection occurence highlighting stopped working
« Reply #4 on: November 14, 2013, 11:50:42 pm »
/usr/lib/codeblocks/plugins/liboccurrenceshighlighting.so.do_not_load

looks like the package maintainer doesn't like that plugin

edit: Just for the record, that's the only plugin with a .do_not_load extension.
« Last Edit: November 14, 2013, 11:55:40 pm by zeroth »

Offline zeroth

  • Multiple posting newcomer
  • *
  • Posts: 27
Re: Selection occurence highlighting stopped working
« Reply #5 on: November 14, 2013, 11:52:10 pm »
Well, I just made a symlink to the file without the .do_not_load and highlighting works again. This'll work when I update again, so for now I'm happy.

Thanks

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: [SOLVED] Selection occurence highlighting stopped working
« Reply #6 on: November 15, 2013, 12:09:21 am »
You should run sudo dpkg-reconfigure codeblocks instead.
You can (really) enable or disable plugins from load (just on debian).
I just removed that stuff, because you are not the first that stumble over this.
And I did not find an (easy) way to make sure you are asked which plugins you want to have enabled (or disabled), if the list of the plugins has changed.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: [SOLVED] Selection occurence highlighting stopped working
« Reply #7 on: November 15, 2013, 12:10:28 am »
A new revision should be available tomorrow (I'm currently building the packages).

Offline zeroth

  • Multiple posting newcomer
  • *
  • Posts: 27
Re: [SOLVED] Selection occurence highlighting stopped working
« Reply #8 on: November 15, 2013, 01:18:07 am »
Oh! I didn't realize running dpkg-reconfigure was interactive lol

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: [SOLVED] Selection occurence highlighting stopped working
« Reply #9 on: November 15, 2013, 06:54:00 am »
The issue is fixed in newest revision on my server.
It still might leave some artifacts in C::B's plugin folder (*.do_not_load).
I will update the postinst-script for debian to remove these if they are there.
Might come this weekend (probably today), if I find the time.