Page 1 of 1

Stop auto-correct in the Dictionary!

Posted: Thu Apr 26, 2018 8:08 pm
by thatkeith
I just typed "tabkey" into the LC Dictionary's search field. My Mac's autocorrect changed it to "tabby". Autocorrect is constantly messing me around in that field... ARGH!

If there is a way to prevent that being done to a field please PLEASE apply that here!

k

Re: Stop auto-correct in the Dictionary!

Posted: Thu Apr 26, 2018 8:49 pm
by richmond62
autoNonsense.png

I'm usimg Mac OS 10.7.5; your mileage may vary. 8)

Re: Stop auto-correct in the Dictionary!

Posted: Thu Apr 26, 2018 9:32 pm
by thatkeith
But I don’t want to prevent it from happening everywhere! :D

Re: Stop auto-correct in the Dictionary!

Posted: Thu Apr 26, 2018 9:48 pm
by richmond62
But I don’t want to prevent it from happening everywhere!
Some people are just too fussy. :D

Quick-N-Dirty web search:

https://apple.stackexchange.com/questio ... ion-in-osx

"Turn off Autocorrect per Application

You can do this in the Applications Edit Menu under Spelling and Grammar and disable ‘Check Spelling While Typing’."

[someone doesn't know how to use a possessive apostrophe]

which is a load of old "C" because the LiveCode Edit Menu does NOT have Spelling and Grammar.
Screen Shot 2018-04-26 at 11.47.27 pm.png
It might be time to start lobbying LiveCode .

Re: Stop auto-correct in the Dictionary!

Posted: Thu Apr 26, 2018 11:25 pm
by thatkeith
richmond62 wrote:Some people are just too fussy. :D
Hah! Guilty as charged, sir.
richmond62 wrote:It might be time to start lobbying LiveCode .
Mmm. What's the preferred way to do that? Is this it?

k

Re: Stop auto-correct in the Dictionary!

Posted: Fri Apr 27, 2018 3:24 am
by bogs
thatkeith wrote:
Thu Apr 26, 2018 11:25 pm
richmond62 wrote:It might be time to start lobbying LiveCode .
Mmm. What's the preferred way to do that? Is this it?
Well, there is a feature request section here on the forums (so yes, you are in the right spot :D ), also quality / bug report feedback db, lastly direct contact through the Lc homepage. Those are the methods I'm familiar with, anyway,

Re: Stop auto-correct in the Dictionary!

Posted: Fri Apr 27, 2018 6:02 am
by bwmilby
There's an easier way...

Code: Select all

spellcheck="false"
Line 63 (on the develop branch) of api.html.template (html_viewer directory)

https://github.com/livecode/livecode-ide/pull/1969

If there is a bug report on this, post the number here and I'll update the PR to reference it.

Here's the full line:

Code: Select all

<input id="ui_filer" type="text" class="form-control input-sm" spellcheck="false" placeholder="Search">

Re: Stop auto-correct in the Dictionary!

Posted: Fri Apr 27, 2018 8:14 am
by richmond62
There's an easier way...
'easier' than what?
easyWay.png
easyWay.png (9.06 KiB) Viewed 4642 times

Re: Stop auto-correct in the Dictionary!

Posted: Fri Apr 27, 2018 6:34 pm
by bwmilby
Precise is probably a better word than easier. My thought is that it is easy to implement and targets the one place where the autocorrect is currently causing a problem.

Re: Stop auto-correct in the Dictionary!

Posted: Sat Apr 28, 2018 8:33 am
by richmond62
In a perfect world there would be a way from within the IDE
(in the Preferences?) to disable an operating system's spellchecker
and so on from "strutting its funky stuff" inwith LiveCode, without
having to fiddle around in source code and them build one's own
variant.

Re: Stop auto-correct in the Dictionary!

Posted: Sat Apr 28, 2018 2:25 pm
by bwmilby
Not discounting the app level setting, but this one is different. Spelling correction in that location is good to turn off since many things in the dictionary will not match. I was not suggesting that it was good to need to hack the IDE to fix it, but showing the fix should anyone want to fix it on their own. And I did submit a PR to fix it for everyone.

Now that I think about it, I don’t recall having a problem with spellcheck anywhere else in the IDE though.