Author Topic: Highlight in red words equal to the selected one.  (Read 11230 times)

Offline mrk8813

  • Single posting newcomer
  • *
  • Posts: 3
Highlight in red words equal to the selected one.
« on: May 09, 2014, 06:11:31 pm »
I have installed Code Blocks for Ubuntu 14.04, version 13.12.
In my previous version (of which I don't remember the number), installed on Ubuntu 12.04, words equal to the selected one were highlighted in red.
Now this does not happen in the new version that I have installed (13.12).

Is this missing in 13.12 or is it just an option to select?
I have looked into the options but I have not found anything similar.

Thanks a lot.
Marco

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: Highlight in red words equal to the selected one.
« Reply #1 on: May 09, 2014, 08:19:31 pm »
my be you need the contributed plugins. If you select Plugins->Manage Plugins is there Incremental Search installed?

greetings

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Highlight in red words equal to the selected one.
« Reply #2 on: May 09, 2014, 09:40:33 pm »
You need to install, enable and setup the OccurrenceHightlight plugin.

Search the forum for clues about it. You're not the first one to stumble upon this change.
(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 Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Highlight in red words equal to the selected one.
« Reply #3 on: May 09, 2014, 10:30:55 pm »
You need to install, enable and setup the OccurrenceHightlight plugin.

Search the forum for clues about it. You're not the first one to stumble upon this change.
It's a core plugin, so it should be installed in any case (or the Ubuntu maintainers have chaged the debian-install files and missed it).
But it might be disabled in "Settings->Editor->Occurrences Highlighting".

Offline mrk8813

  • Single posting newcomer
  • *
  • Posts: 3
Re: Highlight in red words equal to the selected one.
« Reply #4 on: May 12, 2014, 11:34:36 am »
I have no one of the two plugins "Incremental search" and "Occurrence Highlighter" istalled.
Where can I find them?

Thanks a lot.

Offline Napoleon

  • Multiple posting newcomer
  • *
  • Posts: 59
Re: Highlight in red words equal to the selected one.
« Reply #5 on: May 12, 2014, 11:47:13 am »
[Ubuntu 13.10, CB 13.12 from source]

I compiled 13.12 from source using "./configure --with-contrib-plugins=all" to configure with all options.
The plugin is part of the built package.

Offline mrk8813

  • Single posting newcomer
  • *
  • Posts: 3
Re: Highlight in red words equal to the selected one.
« Reply #6 on: May 29, 2014, 04:04:03 pm »
Finally I was able to find an easy way to solve this problem (I'm not an expert of Ubuntu systems) and install contrib plugins.
I simply run from terminal:
Code
sudo apt-get install codeblocks-contrib

and now I have solved both the problem of word highlight and of not working smart indent.

Thanks a lot.