BC4 is currently highlighting lines, even when they differ only by capitalization. I want to ignore those.
In Session Settings, I have UN-checked the box labeled "Character Case".
I have selected the "Minor" button (sub-text: "Ignore unimportant Differences").
I have ensured that the file type (.cs file) corresponds to the rules selected (as suggested here).
What else am I missing?
So, I got an answer straight from Scooter support community:
The character case check box only affects default text (text that isn't a string, identifier, comment, etc).
To ignore character case for non-default text, click the Edit Grammar button.
In the Grammar tab, select the grammar definition that matches the text that should ignore character case, such as Identifier.
Click the Gear icon.
Uncheck This element is case sensitive.
Click OK until you're back to the main window
For the .cs file type, in Session Settings, you will also need to uncheck the box labeled "Identifier" (this is in addition to selecting the "Minor" button as already stated).
This is not necessary for some other file types, such as "HTML", "MS Word Documents", "RTF", "XML", and of course "Everything Else". Simply selecting the "Minor" button will ignore character case.
Related
Normally, using cmd+shift+f will launch PhpStorm's "Find in Path..." feature, and the search text defaults to whatever text is highlighted in the IDE. For me, it defaults to what is highlighted for a fraction of a second, before being replaced with this code:
2223 2BC9 EA71 DED7 8AAE DB73 C773 21A0 E816 78AE
I am not sure what this code represents but it is always the same. I have to delete and re-type or paste the content I want to search in order to continue with my search. The next time I open the "Find in Path" dialog, it happens again.
Does anyone have any clue what this might mean?
It must be caused by GPG tool: https://gpgtools.tenderapp.com/discussions/problems/51070-gpgservices-spurious-select-key-dialog.
Unchecking the box next to OpenPGP: Insert my Fingerprint in Mac System Preferences -> Keyboard -> Shortcuts -> System should help
I'm newbie in VBA. I would like to find all bold text and insert brackets before and after it.
For example, Before: This is bold text
After: {This is bold text}
I'm using MS Word
You don’t need to use VBA; Word’s UI can do it directly with Find and Replace:
Leave the “Find what” box empty, but press Ctrl-B to specify Format: Font: Bold. (You can also click the More >> button to access the Format drop-down button and select Bold from the Font dialog.)
In the “Replace with” box, type ^& (or you could type the asterisk, use the Special drop-down to choose “Find What Text”, and type the 2nd asterisk).
Click Replace All.
Each instance of bold will be “replaced” by an asterisk, the found content (i.e. the bold letter(s)), and another asterisk.
Edit: The ^& is a special code to represent “Find What Text” as a Replace option in Find and Replace. The “Special” button presents a list of available options by name for both the Find and Replace boxes, and will insert the code when you make the selection.
In beyond compare how do I ignore the comparison of some words that are contained in file inside the folder.
exemple:
in left side, i have a file in a folder that contains the word 'Hello'
in the right side, at same place, the file contains 'Tello'
I would like this to be an equal file.
also, how to ignore case in file content when performing a folder comparison. (not when doing file comparison) => in all files contained in the folder
To hide text differences in Beyond Compare 4's Text Compare, see the article Define Unimportant Text in Beyond Compare on Scooter Software's website.
To ignore differences in text file content in the Folder Compare, double click a pair of files to open them in the Text Compare. Follow the instructions at the above link, but change the dropdown of the Session Settings dialog from Use for this view only to Use for all files within parent session before you click OK. Then close the Text Compare.
In the Folder Compare, click the Rules toolbar button (referee icon). In the Comparison tab, check Compare Contents and select Rules-based comparison. This will compare the text contents of files in the Folder Compare using the settings you defined in the child Text Compare.
I got case insensitivity when comparing *.txt files using "view"->"Ignore Unimportant Differences"
Is there any way (Plugin, Script) to add quotation marks (or square brackets or parentheses) at the beginning and the end of selected text via a keyboard shortcut in the Kate editor?
I think of something like selecting a word and then pressing Ctrl-U (this would upcase the selected word). Is there something similar for quotation marks?
The "Configure Shortcuts" menu does not provide this option.
This should be possible to do by using Kate's Javascript plugin system: http://docs.kde.org/stable/en/kde-baseapps/kate/advanced-editing-tools-scripting.html.
By finding the word at the current cursor position and inserting text before and after, you could create a “surround with quotation marks” function.
For an example of a Kate script, see here: http://kucrut.org/move-cursor-to-next-prev-paragraph-in-kate/.
One solution would be the following:
Go to Settings > Configure Kate > Editing
Activate the Auto brackets option
Now you are able to wrap the selected text with brackets.
Though there is one drawback. The Auto brackets option is "always on", meaning that once you type "(" the corresponding ")" also comes up.
From my experience, most text editors will, when double clicking a block of text, break the selected text by dashed lines but not for underscores.
E.g:
Double click the word 'text' of this sentence with underscores:
this_text_block
Double click the word 'text' of this sentence with dashes:
this-text-block
However, in different situations I have different needs. For example, when swapping between serverside code, html and javascript I often would like to vary the way text is selected.
Is there a text editor that allows such a distinction? Possibly one that switches depending on the type of code I am writing?