How do I remove this iTerm2 highlight? - syntax-highlighting

Does anyone know how to customize the syntax highlighting rules? Not sure if this text is highlighted because of deduped but I'd like to turn that off.

Related

Sublime Text 3 unable to find text that is plainly there

Hitting cmd+f to find text in SublimeText, I frequently see something like:
Clearly 'someText' exists on the page. Why can't Sublime find it?
Note this sometimes seems to work, and sometimes fails. I can't work out the difference though.
How can I reliably find text with Sublime Text?
I've tried to reproduce this problem with Sublime Text 2 and this is what I found:
If you place caret before the text and the hit find, the text will be found
If you place the caret after the text and then hit find, the text will not be found
It seems that Sublime Text doesn't wrap search by default. You can enable it by toggling the button with the arrow icon (second one from the left of Find what, its tooltip should say Wrap). Then the search works regardless of the caret position.
Look at the buttons right before search box. Sometimes they are just get disabled accidentally, mis-click, or the short-cut get trigged, then the search doesn't behave as expected.
From left to right, RegExp, case sensitive, whole word, wrap(search whole doc, not just below current line), you can see them with mouse pointer hover.
I strongly suggest you to disable those shortcuts to prevent unexpected toggle of these :)
Also, turning off the regex may help you in searching for symbols which have special meaning in regex. For instance, someText(foo) will not be searchable in regex mode without escaping the brackets or putting the search string in quotes.

Xcode to highlight operators in different color?

Is there any way to make xcode highlight operators(".","<>", "()", ";", etc) differently, like it is possible in Visual Studio? It really improves the readability of the code.
There's no such option in the preferences but maybe there's some way to edit coloring file directly and make these symbols appear as reserved words? It's ok if the color is blue, like it is for reserved words - as long as it's not the same color as the generic text. I tried googling a plug-in with this functionality, but couldn't find it. It doesn't seem like there are many xcode plug-ins out there.
Try to edit /Applications/Xcode.app/Contents/OtherFrameworks/DeoolsCore.framework/Versions/A/Resources/Built-in languages.pblangspec by adding your operators as keywords.

How to disable seemingly random syntax higlight in Notepad++

Can anyone suggest:
Why does it higlight like this? I don't seem to do anything to activate it:
How to disable it?
This is old, but I ran into the same problem and just figured out an easy fix.
From the file menu: Language > N > Normal Text
I'm not sure if this is the same issue as mine, but I wanted to keep the language setting enabled but remove the highlighting.
I did this by going to Settings --> Preferences --> Highlghting
Removed the Enable check mark for Highlight Matching Tags.
1) Go to settings -> Style Configurator.
2) Select the language that Notepad++ has chosen, usually based on filename extension. You can also change this manually under the Language menu setting.
3) Go through the Styles until you find the style that applied the highlighting. You can tell because the Background colour will match the highlighted color.
4) Change Background colour to white.
I do not have an answer for your first question
For your second question do the following steps
Inside Notepad++ press ctrl A( select all)
Right click for context menu.
select Remove style and click on Clear all Styles
This will clear all the highlights.
FYI. You may also see this sort of behavior when using a vertical edge in background mode. Switching to line mode will eliminate the highlighting of lines that run over the set character count for the vertical edge.

Vim color syntax highlighting changes not having any effect

I use vim on webfaction through putty and would like to change the colours used in the syntax highlighting. I have installed some example themes and then tried to change the colors in those themes to match the ones I want. For some reason this strategy does not work. What am I doing wrong? Is it because I'm using putty, or is it something weird with webfaction's linux or vim? Or is my logic just wrong?
I created /home/user/.vim/color/theme.vim
I then load the them by adding colorscheme theme to my /home/user/.vimrc
Aside from my color changes not working on obvious parts like
hi Normal guifg=#ffffff guibg=#000000 gui=none
it also does not seem to implement all the theme changes when I just use the theme without changing it. Is there something better than putty I can use?
In terminal mode, the ctermbg and ctermfg keys are used instead of guibg and guifg. It uses Xterm colors. See for example this table for a rough mapping, and even a VIM script that shows a color table.
So you would need to change your line to:
hi Normal ctermfg=15 ctermbg=0 guifg=#ffffff guibg=#000000 gui=none

Syntax highlighting in the Dokuwiki editor?

Is there any way to have syntax highlighting in the "editor" of dokuwiki?
By this I mean to have syntax highlighting in the actual editing window (in real time) just like using a text editor.
I have never seen anything like this but I was wondering if this is possible. Since I'm inputting a lot of LaTeX math thing into my dokuwiki, it would be great if it can be done.
Have a look at http://www.dokuwiki.org/plugin:aceeditor - I never tried it myself, but it seems to do what you're looking for.

Resources