It also doesn’t let you do normal editor-ish things like opening and saving files, but those are very low on my priority list. If I keep working on this editor, the first thing I’ll do is add a toggle switch to disable the predictive stuff, letting you enable and disable it as desired. The biggest issue is that when you go back to edit text that you’ve already written, it fails miserably. This editor currently has a few problems, all related to the fact that I wrote it in just one night, many years ago. Obviously there are limits to this, but what I’m thinking of here is something in the way that a Google search result shows you not just the current word you’re typing, but the next most common matching words. Hmm, where was I? Oh, yes, if TypeAhead really understood ’context’ well, things could get very interesting, not just completing the current word, but possibly the one after that, and so on. If their code would just look at the previous word or two and realize that nobody in the history of mankind has used their word after those words. For instance, it drives me crazy when the auto-complete/spelling feature on my iPhone makes horrible suggestions, or worse yet, changes words I’ve written. Third, TypeAhead could get into grammatical analysis. Right now I only guess one word, but having a drop-down UI would let me guess multiple words, like Sublime Text does in certain documents: Second, the UI could be improved by offering a series of words in a drop-down list. So TypeAhead would use a stack of context-relevant dictionaries to auto-complete the current word. For instance, if you’re writing a blog post about JavaScript, the most important context is JavaScript, followed by related contexts of HTML, HTTP, and web programming. This short video shows a very rough prototype of how this might work:Ī few improvements are possible and easy.įirst, TypeAhead could be better by checking a dictionary that is relevant to the current context. It always tries to help you auto-complete the current word by using words in (a) the current document, as well as (b) a dictionary. TypeAhead is a continuous predictive text editor that I wrote many years ago.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |