Menu
I am currently going through the lua files of LaTeX's TikZ/PGF code and among other things I want to correct spelling errors because parts of these lua files are also used for the manual.
To do this I use Notepad++ but as it seems, stuff enclosed in
[[' ... ']]
is not spell-checked. Here an example from the file DistanceMatrix.lua were I introduced a spelling error.In the left of the following image one sees the result when
Lua
is the active language and on the right when TeX
is the active language.As can be seen the word 'verticess' is not underlined in the
summary
part when Lua is the active language.Is it possible to extend/modify the Lua language in Notepad++ thus that also the parts enclosed in
[[' ... ']]
are spell-checked? (Maybe it would also be sufficient to spell-check stuff in [[ ... ]]
thus without the quotes? Unfortunately I am not familiar with the Lua language.) And of course, if this is possible, how?Sep 15, 2015 How to add spell check to Notepad. Open Notepad and click on the “Plugins” option in the toolbar of the app, and select the Plugin Manager 2. Click on show Plugin Manager. This is the repository from where you download the plugins. Scroll down or tap “D” to navigate to “DSpellCheck” 5. To check the spelling of your notebook, select the Edit Check Spelling menu item or use the keyboard shortcut that is indicated in the menu: Upon running the spell check, the Wolfram System detects the words that were misspelled and provides suggestions.
Stefan PinnowStefan Pinnow
2 Answers
TeX is cheating somewhat based on how it's language style is defined. The TeX definition recognizes spelling errors in variable names:
This can be an annoyance for many people.
If it is acceptable for your needs using an older version of DSpellCheck(1.3.5 or older) you can uncheck the
Check Only Comments and Strings if Possible
setting of DSpellCheck to apply it this behavior to all languages:Example of Lua language setting after change:
NifimNifim
I think the problem is that the DSpellCheck Plug-in for Notepad++ does not check string literals when a highlighting language style is selected. This happends not only for Lua but others languages as well (e.g. C# and its
@'multiline string literal';
). there is probably no easy way to fix this. I suggest to open a ticket with them.Some pointers:
In Scintilla.h is defined
and in DsSpellCheck's SpellChecker.cpp
However, it is possible that Scintilla does not expose the string property of Lua string literals properly..
wp78dewp78de
Not the answer you're looking for? Browse other questions tagged luanotepad++spell-checking or ask your own question.
Discus and support How to get Windows 10 to spell check uppercase words. in Windows 10 Support to solve the problem; Hi, just wondering- do your dictionary files here %appdata%MicrosoftSpelling contain anything? (You can open default.dic with notepad e.g.)... Discussion in 'Windows 10 Support' started by Apheration, Dec 25, 2016.
Page 2 of 2
Thema:
How to get Windows 10 to spell check uppercase words.
How to get Windows 10 to spell check uppercase words. - Similar Threads - spell check uppercase
Spell Check
in Microsoft Windows 10 StoreSpell Check: For Wordpad and Notepad on Windows 10, is there a good spell checker to use?https://answers.microsoft.com/en-us/windows/forum/all/spell-check/638b0279-f8fa-4180-ae28-e2d1f58d11c1'spell check
in Windows 10 Network and Sharingspell check: Do I have to pay for spell check? I can't even open a word document without it saying it has to close. It says some features are disabled. then tells me to repair or close and it still closes and I can't ever use it I just use word pad and I am a bad speller. I thought it was...Spell check dictionary -- can'tfigure out how o get to it to add a word??
in Windows 10 Software and AppsSpell check dictionary -- can'tfigure out how o get to it to add a word??: I want to type CNA and spell check always changes it to CAN??? Even when I go backward to correct, it corrects it again????? I', working in EXCEL in Mircrosoft Office 365. Thanks for help....spell check
in Windows 10 Customizationspell check: I went to documents , word pad and cant find spell check. a ideas?thank you.https://answers.microsoft.com/en-us/windows/forum/all/spell-check/ad261a61-5836-4e22-a9fe-0d92381deb53how do i spell check???
in Windows 10 Customizationhow do i spell check???: I have home view and editing but no spell checkhttps://answers.microsoft.com/en-us/windows/forum/all/how-do-i-spell-check/a8e3fb13-517a-4a45-bdea-6ddf2434d270how can I get spell check on note pap?
in Windows 10 Software and Appshow can I get spell check on note pap?: how can I get spell check on note pad ?https://answers.microsoft.com/en-us/windows/forum/apps_windows_10-winapps-appscat_tools/how-can-i-get-spell-check-on-note-pap/088ac0d5-a265-4567-abf7-35b1afef0406how con I get spell check on note pad
in Windows 10 Software and Appshow con I get spell check on note pad: how can I get spell check on my note pad?https://answers.microsoft.com/en-us/windows/forum/apps_windows_10-winapps-appscat_tools/how-con-i-get-spell-check-on-note-pad/25db3c4a-36f8-4f18-a56a-55168726bbc1How do I get Windows to spell check two languages?
in Windows 10 SupportHow do I get Windows to spell check two languages?: Tried it, still doesn't work.Add or Remove Words in Spell Checking Dictionary in Windows 10
in Windows 10 TutorialsAdd or Remove Words in Spell Checking Dictionary in Windows 10: Cant thank you enough for this tutorial! There is one thing that needs to be changed. In Option 2, step 5, this needs to be changed to 'save' instead of 'save as'. Correct? 25994
hella.https://support.microsoft.com/en-us/hub/4338813/windows-help?os=windows-10
,seattlehttps://www.microsoft.com/en-us/windows
,hella.https://support.microsoft.com/en-us
,- hella.https://support.microsoft.com/en-us/hub/4338813/windows-help,
- hlla.https://support.microsoft.com/en-us,
- seattlehttps://www.Hella..com/threads/win-10-spell-check-how-does-it-work.79103/