Have you ever thought of an auto-complete feature? i.e. offering sets of words,
(depending on the programming language or even from an individual dictionary)
after having entered maybe the first two letters of the word, to complete by
clicking on the word from the list. Ideally, variable names already used in the
text could be dynamically added to the list of words.

Do you think that would be very difficult to do?

PSPad freeware editor https://www.pspad.com

Odpovedet emailem