Auto-complete symbols with a dot inside

General and specific configuration/INI settings

Auto-complete symbols with a dot inside

Postby richard » Mon May 19, 2008 8:14 am

Hi all,

I'm working with an old fashioned, not so much structured programming language. There are a lot of normal function names and variables with dots in it, like "my.first.variable". This is no structure, just a variable.

If the following option is not set: "Do not auto-complete structure members (items following "." or "->")"

I thougt that something like the variable above would be completed in one go. But UE stops at every dot. Is there a way to autocomplete words regardless off any dots?
--> I'm not talking about keywords, I have this problem with buffered text. Maybe in keywords dots are no problem!


cu
Richard
richard
Newbie
 
Posts: 2
Joined: Mon May 19, 2008 7:59 am

Re: Auto-complete symbols with a dot inside

Postby Mofi » Mon May 19, 2008 10:54 am

I have already looked once if it possible to specify which characters are interpreted as delimiters for the auto-completion - see auto-complete and : And nothing has been changed since I have posted this. I think the help for this setting is not detailed enough to really understand the purpose of this setting.

I can't see any difference caused by this setting on auto-completion by Ctrl+Space for my 'C' files. Maybe this is because I have the . NOT in the list of delimiter characters in the wordfile at the language definition for 'C' files.

I think there is no possibility to get something like "my.first.variable" displayed at once in the auto-completion dialog after entering "my." and press Ctrl+Space which I honestly also miss in some cases.



Update on 2012-07-12: To get into auto-completion list also strings containing a . it is important that the . is not specified as word delimiting character in the wordfile used for syntax highlighting the active file. To verify this open a file where . should be not interpreted as word delimiter and which is syntax highlighted. Open now Advanced - Configuration - Editor Display - Syntax Highlighting. The language used to syntax highlight active file is already preselected. Open the appropriate wordfile by clicking on button Open right to language drop down list. Close the configuration dialog with button Cancel. Now look on the line starting with /Delimiters = in the opened wordfile below the line containing the language name. This line should not contain character .

Further the name of the setting Do not auto-complete structure members (items following "." or "->") was wrong a very long time in many versions of UltraEdit and UEStudio. The correct name for this option is:

Do not auto-correct structure members (items following "." or "->")

It is an option of the auto-correction feature and not of the auto-completion feature. This mistake in name was finally corrected in UEStudio v12.10.0.1003 and in UltraEdit > v18.10.0.1016.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4055
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: Auto-complete symbols with a dot inside

Postby richard » Tue May 20, 2008 6:19 am

Hi Mofi,

so I think I have to live with this. It's only that I find auto-complete a little bit unhandy, compared with other popular editors. I.e. if you press "CTRL-SPACE" and AC finds nothing the frame opens and you have to close with ESC to get rid of it. But this is the only point with that software which is annoying sometimes.

regards to austria
Richard
richard
Newbie
 
Posts: 2
Joined: Mon May 19, 2008 7:59 am


Return to Configuration/INI Settings