The MASM Forum

Projects => Easy Code IDE 32/64-bit => Topic started by: K_F on October 15, 2016, 06:40:02 AM

Title: Auto text correction in EC2000-64
Post by: K_F 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  ;)
Title: Re: Auto text correction in EC2000-64
Post by: rsala 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



Title: Re: Auto text correction in EC2000-64
Post by: K_F 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
Title: Re: Auto text correction in EC2000-64
Post by: rsala on October 22, 2016, 09:30:00 PM
 :t
Title: Re: Auto text correction in EC2000-64
Post by: AssemblyChallenge on November 04, 2016, 11:57:28 PM
There, K_F, your fix is now oficial  :greenclp:
Title: Re: Auto text correction in EC2000-64
Post by: rsala on November 05, 2016, 06:41:15 AM
My pleasure! :t
Title: Re: Auto text correction in EC2000-64
Post by: pro3carp3 on January 21, 2017, 12:53:24 AM
Is there a fix for this in the 32-bit version?  It's a bit annoying.
Title: Re: Auto text correction in EC2000-64
Post by: rsala 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
Title: Re: Auto text correction in EC2000-64
Post by: pro3carp3 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.
Title: Re: Auto text correction in EC2000-64
Post by: rsala 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!
Title: Re: Auto text correction in EC2000-64
Post by: rsala 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
Title: Re: Auto text correction in EC2000-64
Post by: pro3carp3 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.
Title: Re: Auto text correction in EC2000-64
Post by: rsala 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
Title: Re: Auto text correction in EC2000-64
Post by: rsala 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
Title: Re: Auto text correction in EC2000-64
Post by: AssemblyChallenge 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:
Title: Re: Auto text correction in EC2000-64
Post by: rsala on January 25, 2017, 07:44:20 AM
:lol:  :t
Title: Re: Auto text correction in EC2000-64
Post by: jj2007 on January 25, 2017, 08:06:40 AM
Man, that was quick. It must be really hard being a bug in Ramon's house  :lol: :lol:

Ramon just kills them. I torture them :icon_mrgreen:
Title: Re: Auto text correction in EC2000-64
Post by: rsala on January 26, 2017, 04:32:57 AM
 :badgrin: :badgrin: