NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Bug in Autocorrection (build 4048)
Veteran

Joined: 22 Sep 2005
Posts: 113
Reply with quote
After installing build 4048, the autocorrection is working in a very crazy way Smile

As an example let's take "ação" that should be auto-corrected to "acao".

1) If I type "ação" in the very begining of the line, after typing a space, the correction works.

2) If I type "ação" inside some line, it doesn't work. In other words, if I type "ação" inside line, like:
$_POST[''], to become $_POST['ação'], that should be corrected to $_POST['acao'], it does not work. But if I type $_POST['ação and press space, it works, IF THERE IS NO OTHER CHARACTER AFTER, EVEN A SPACE.

3) If I type $_POST['ação'] as in (2), and move the caret backwards into the word "ação", and press space or tab, it works giving me the correct word + the extra previous characters after the caret, and destroying part of the previous word before "ação" ($_POSacao ção']).
View user's profileFind all posts by HoTShoTSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
1- ok.
2- editor can not check all the editor's buffer for possible autocorrection replaces whenever you press a key. It's done on a word left to cursor and only. So it's ok too.
3- it's a pure bug. Thanks for the report.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Veteran

Joined: 22 Sep 2005
Posts: 113
Reply with quote
ddmitrie wrote:
2- editor can not check all the editor's buffer for possible autocorrection replaces whenever you press a key. It's done on a word left to cursor and only. So it's ok too.

May be my example was not good to explain this case. If I type "ação" in a line and in this line there are only spaces, the autocorrection won't work.

Let's represent the spaces as dots (.):

If I have a line with 4 spaces and type "ação" at its begining, I don't get the autocorrection.
<line before typing> ....
<after typing> ação....
<type a space after the word> ação..... (no autocorrection)

On the other hand, if I don't have those spaces, it works:
<line before typing> (nothing)
<after typing> ação
<type a space after the word> acao. (autocorrection OK)

My conclusion is: no matter if there is something before the word that is supposed to be corrected, if there is anything after, the correction won't work. If you compare the autocorrection behaviour of build 4043, you see that it works different (correct way).
View user's profileFind all posts by HoTShoTSend private message
Bug in Autocorrection (build 4048)
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic