Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: mrk8813 on May 09, 2014, 06:11:31 pm

Title: Highlight in red words equal to the selected one.
Post by: mrk8813 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
Title: Re: Highlight in red words equal to the selected one.
Post by: BlueHazzard 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
Title: Re: Highlight in red words equal to the selected one.
Post by: oBFusCATed 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.
Title: Re: Highlight in red words equal to the selected one.
Post by: Jenna 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".
Title: Re: Highlight in red words equal to the selected one.
Post by: mrk8813 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.
Title: Re: Highlight in red words equal to the selected one.
Post by: Napoleon 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.
Title: Re: Highlight in red words equal to the selected one.
Post by: mrk8813 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.