News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Auto text correction in EC2000-64

Started by K_F, October 15, 2016, 06:40:02 AM

Previous topic - Next topic

K_F

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
PT_ANULL Equ 0 ; Unused (WinInc has PT_NULL = 1 ? ? ?)
..when I would like ..
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

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

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

EC coder

AssemblyChallenge


rsala

EC coder

pro3carp3

Is there a fix for this in the 32-bit version?  It's a bit annoying.
LGC

rsala

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

#8
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.
LGC

rsala

Thanks pro3carp3 and sorry for the inconveniences.

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

Regards!
EC coder

rsala

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

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

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

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

Man, that was quick. It must be really hard being a bug in Ramon's house  :lol: :lol: