STRUCTURE and UPPER CASE

Started by Alain, May 27, 2011, 04:14:26 PM

Previous topic - Next topic

Alain

Hello

sometimes you write a structure as
IF
ELSE
ENDIF
or
For
Next
and, with the cursor on a word, HE select all the structure with another color : that' perfect

sometimes you write ....
If
else
ENDIF
and you transform a keyword in upper case with CTRL+U with the cursor in the keyword... HE made it perfectly.

So, it's not possible to make that in one time...
Question : How it's possible to select a keyword of the structure (If...else...ENDIF)
and transform all in upper case in one shot (IF... ELSE... ENDIF)  ?

Have a good day
Alain




alex

Hi Alain,

I would say, this is very specific use case and request...
Maybe this can be done as a script in 1.50. Creating of the specific command for this will be, from my point of view a little bit of overhead.
Let us see if somebody else request it.

What you can do, is set in Tools->Options->Formatting->Smart Helpers->Case Correction and select UPPERCASE or Like in syntax definition. In second case you need to check that keyword "else" written like "ELSE"  in schema file. In this case when you type "else" keyword, case will be automatically converted. For paste case, you can use Format selection command than.

BR, Alex.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]