Home Download Buy Blog Forum Support

Microsoft Word Auto Correct

Microsoft Word Auto Correct

Postby doctorguile on Thu Dec 20, 2012 6:33 am

i use sublime for both code and prose.
i love microsoft word's auto correct feature, although it sucks as a general editor.

basically if you have been typing a lot you might develop carpal tunnel. and when writing documents or emails, microsoft's auto correct saves you from using the shift key to capitalize the first word and you dont have to type a lot of punctuation except commas and fullstops.

for example, if you type this in word

i dont have a lot to say about taht, but waht you said is ok.

you get

I don’t have a lot to say about that, but what you said is ok.

it does a fine job of saving you from pressing the stressful keys and also correct a lot of common errors when you're typing fast.

you can also easily export the auto correction list from word


if this can be done in a package, it would be okay as well.

Posts: 1
Joined: Thu Dec 20, 2012 6:19 am

Re: Microsoft Word Auto Correct

Postby agibsonsw on Thu Dec 20, 2012 8:34 pm

I think auto-correct should be possible because we can use

Code: Select all
compDefault = [view.extract_completions(prefix)]

to obtain the default word-completions. We could use on_modified to read, and replace, the word to the left, scope for plain text (or whatever scope is required), and possibly disable the completions-list so that they don't conflict.

I can foresee issues:
Replacing text would trigger another on_modified event (circular call);
Undo/Redo might cause issues;
How would we persuade ST not to use auto-correct at particular times?

Just some ideas, but it is not something I will be pursuing myself, Sorry. Andy.
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
Posts: 901
Joined: Fri Jan 27, 2012 9:11 pm

Re: Microsoft Word Auto Correct

Postby PinnacleWebDesign on Fri Dec 21, 2012 3:02 pm

Breevy [http://www.16software.com/breevy/], which is a text expander, provides similar functionality and of course, will work in any app and you can import Word's autocorrect completions into it. Alternatively, if you're an AutoHotKey user, there's a word list here that'll get you started: http://www.autohotkey.com/download/AutoCorrect.ahk

If you're on a Mac, have a look at TextExpander

Posts: 33
Joined: Sun Aug 09, 2009 6:43 pm
Location: UK

Return to Ideas and Feature Requests

Who is online

Users browsing this forum: No registered users and 10 guests