Author Topic: Auto text correction in EC2000-64  (Read 1776 times)

K_F

  • Member
  • *****
  • Posts: 1287
  • Anybody out there?
Auto text correction in EC2000-64
« on: October 15, 2016, 06:40:02 AM »
Hi Ramon,
Where can I turn off auto text correction in my comments - it's driving me 'dilly'  :biggrin:

Here the auto correct inserts spaces between the question marks
Code: [Select]
PT_ANULL Equ 0 ; Unused (WinInc has PT_NULL = 1 ? ? ?)..when I would like ..
Code: [Select]
PT_ANULL Equ 0 ; Unused (WinInc has PT_NULL = 1 ???)
it's just an example.. but auto corrects (colons/brackets/etc..) in many other unwanted places   :t
Maybe a Comment sub-section auto correction option selectors ? - Just a thought  ;)
'Sire, Sire!... the peasants are Revolting !!!'
'Yes, they are.. aren't they....'

rsala

  • Moderator
  • Member
  • *****
  • Posts: 234
    • Easy Code
Re: Auto text correction in EC2000-64
« Reply #1 on: October 15, 2016, 09:15:11 PM »
Hi Van,

Pleased to hearing from you and sorry for the inconveniences.

Please download a new 64-bit executable at:

http://easycode.cat/English/Download/EasyCode64.zip

and place it in the \EasyCode\Bin folder overwriting the existing one.

Regards,

Ramon



EC coder

K_F

  • Member
  • *****
  • Posts: 1287
  • Anybody out there?
Re: Auto text correction in EC2000-64
« Reply #2 on: October 16, 2016, 11:02:21 PM »
Thanks Ramon...

It's not an inconvenience if the grand scale of things.. maybe I over-emphasised that point :biggrin:
 :t
'Sire, Sire!... the peasants are Revolting !!!'
'Yes, they are.. aren't they....'

rsala

  • Moderator
  • Member
  • *****
  • Posts: 234
    • Easy Code
Re: Auto text correction in EC2000-64
« Reply #3 on: October 22, 2016, 09:30:00 PM »
 :t
EC coder

AssemblyChallenge

  • Member
  • **
  • Posts: 90
Re: Auto text correction in EC2000-64
« Reply #4 on: November 04, 2016, 11:57:28 PM »
There, K_F, your fix is now oficial  :greenclp:

rsala

  • Moderator
  • Member
  • *****
  • Posts: 234
    • Easy Code
Re: Auto text correction in EC2000-64
« Reply #5 on: November 05, 2016, 06:41:15 AM »
My pleasure! :t
EC coder

pro3carp3

  • Regular Member
  • *
  • Posts: 7
Re: Auto text correction in EC2000-64
« Reply #6 on: January 21, 2017, 12:53:24 AM »
Is there a fix for this in the 32-bit version?  It's a bit annoying.
LGC

rsala

  • Moderator
  • Member
  • *****
  • Posts: 234
    • Easy Code
Re: Auto text correction in EC2000-64
« Reply #7 on: January 21, 2017, 06:26:34 AM »
Hi Van,

A new version of EC v2 has just been released. It fixes the auto text correction problem for both, 32/64 bits versions).

Regards,

Ramon
EC coder

pro3carp3

  • Regular Member
  • *
  • Posts: 7
Re: Auto text correction in EC2000-64
« Reply #8 on: January 22, 2017, 06:32:30 AM »
I downloaded the latest version (2.00.0.0022) and still have problems with the comments:

 I can't put a space between sentences using a period.  "xxx.  Xxx" becomes "xxx.Xxx".  Also if there is any opening parentheses in the comment, a closing parentheses is added at the end.  "(...) xxxxx" becomes "(...) xxxx)".

EDIT: I notice the problem only occurs outside the code section.  Inside the code section the comments are not affected.

EDIT: Also affected is a plain text file if edited in the EasyCode editor.  It tries to apply the syntax coloring to my notes.
« Last Edit: January 22, 2017, 02:53:43 PM by pro3carp3 »
LGC

rsala

  • Moderator
  • Member
  • *****
  • Posts: 234
    • Easy Code
Re: Auto text correction in EC2000-64
« Reply #9 on: January 22, 2017, 09:04:51 AM »
Thanks pro3carp3 and sorry for the inconveniences.

I will see what is happening in order to fix the problem.

Regards!
EC coder

rsala

  • Moderator
  • Member
  • *****
  • Posts: 234
    • Easy Code
Re: Auto text correction in EC2000-64
« Reply #10 on: January 23, 2017, 01:26:23 AM »
Hi,

- The problem of comments has been solved, inside both ".Code" section and any other one.
- The problem of the closing parentheses (or bracket) has been solved.

About the period, that depends on the "Beautify Syntax" option. A period is followed by a struct name or member member (i.e. rc.left or [Ebx].RECT.left) and no spaces are needed. However, if you do not wish the syntax to be beautified, just uncheck the "Beatify Syntax" option in the "Syntax" tab of the "Tools-->Settings" menu.

Here is a link to download the new EC v2 executables (same version number):

http://easycode.cat/English/Download/EasyCodeExes.zip

Regards,

Ramon
EC coder

pro3carp3

  • Regular Member
  • *
  • Posts: 7
Re: Auto text correction in EC2000-64
« Reply #11 on: January 23, 2017, 08:13:46 AM »
Thanks again, Ramon.  I do appreciate all your work on this.  I do want to use the beautify syntax feature as it provides a consistent look to my code.  However, I'm confused why it affects comments.  Obviously, there is no code or struct definition in a comment and it seems that the beautifier should completely ignore it.
LGC

rsala

  • Moderator
  • Member
  • *****
  • Posts: 234
    • Easy Code
Re: Auto text correction in EC2000-64
« Reply #12 on: January 24, 2017, 02:25:00 AM »
Hi,

Sorry I thougth you were talking about code or struct definition outside comments.

Yes you are right, the Beautify Syntax feature does not has to affect comments and it does not now with this last version according to all my tests. If you detect any other issue please let me know (much better if you send a little example project to me).

Thanks for your help!

Ramon
EC coder

rsala

  • Moderator
  • Member
  • *****
  • Posts: 234
    • Easy Code
Re: Auto text correction in EC2000-64
« Reply #13 on: January 25, 2017, 06:39:33 AM »
IMPORTANT INFORMATION

The last version of EC v2.00.0.0022 (released on January 20, 2017) had some issues in the "Beautify Syntax" feature that were detected by pro3carp3. Trying to fix those issues I made some more issues to appear, so a new version fixing everything has just been released. Please download it at:

    http://www.easycode.cat/English/Download.htm   (English version)
    http://www.easycode.cat/Download.htm                (Catalan version)
    http://www.easycode.cat/Spanish/Download.htm  (Spanish version)

I am really sorry for all the inconveniences.

Ramon
EC coder

AssemblyChallenge

  • Member
  • **
  • Posts: 90
Re: Auto text correction in EC2000-64
« Reply #14 on: January 25, 2017, 07:42:09 AM »
Man, that was quick. It must be really hard being a bug in Ramon's house  :lol: :lol: