Tools > Options > Text Editor > Clarion > Smart Formatter > Indent Comments - Does it work?

Tags: #<Tag:0x00007f225280ab30>

Tools > Options > Text Editor > Clarion > Smart Formatter > Indent Comments Ticked - Does it work for you?

I dont know if this is linked into (Syntax) Highlighting where the ! is treated as a Delimiter in the Root Rule Set, however even removing all references to ! in the syntax highlighting User Defined: rules still doesnt make it work, so can anyone get this !comment indentation to work?

If you can what column does it move it to?


I thought it would produce an special indentation for comments to the right, like used to be on Clarion for DOS, but apparently it only does what it says: “Indent comments”, when activated, comments moves to the same column as other text, otherwise comments stays where you wrote it. It applies only to lines that start with an ! (on any column), and the next option applies only to lines that start with ! specifically on column 1.

I didnt know if it was supposed to move the comments to column 80, which was what I kind of hoping for.

So if I position the cursor to column 12 and type in
Myvar1 = 1[Enter]
[Tab][Tab]!My comments here

if formats it like so

		Myvar = 1
		!My Comments

You know what looking at the Smart Formatter options again, I didnt even see the comment in the box but it makes sense!

Off to reread the other one’s I have problems with but I got Case indentation working.

Indent statements from CODE
Default: Ticked

This will indent code relative to the position of the CODE keyword.
This uses Tab Size.

Indent OF, OROF and ELSE statements from CASE
Case statements like this: Ticked
	CASE Condition
		OF Value
		OF Value
		OF Value
		OROF Value
Using Tab Size.

Case statements like this: Unticked
	CASE Condition
	OF Value
	OF Value
	OF Value
	OROF Value

That mini help is very usesful, although not 100% clear sometimes

This is why I’m writing my manual, I wanted to know how to make things like the embed editors (text editors) like C6 as well as explore the new functionality and where possible show examples to making it extremely clear just what each option does or what to expect. I also mention the relevant folders and files where settings can be found, like

Any files you copy to User-Defined: list are placed in the
and are called


Show tooltip when moving mouse over expression.
Default: Ticked

When the mouse pointer hovers over variables, classes or functions, a tooltip yellow box will appear displaying more information. This does not stop the tooltip box from appearing when cycling through suggestions in the code completion popup window.

Personal Preference: Unticked

Only in Debug Mode
Default: Unticked

If the Show tooltip when moving mouse over expression is ticked, this option enables and will only show the tooltip if the Project Setting is set to debug and this option is enabled.

Load a project or app file, Menu > Build > Set Configuration > Debug

Although this appears to not work.

If you want to alter the size and font of the tooltip on your development machine you need to edit the registry setting

HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics\
StatusFont Reg_Binary

It uses the encoded structure LogFont

My aim is to be able to take C11 and make it like a retro C6 look and feel so popup Property windows for controls in the screen designer and no Property Pads, the floating/docking toolbars like we had in C6 and the Local variable window but enhanced a bit if possible, and maybe something similar to C6 for the dct side of things as well.

I dont know how possible this is, I dont even know if its legal! :shushing_face:

Likewise I also want to improve upon the IDE in a variety of ways, so I want the pads to behave more how I want them to behave, and other things like that.

Anyway I’m up to

Component Inspector

Information in the help docs that refer to the component Inspector cite links which are no longer available. However you can find them here:

Matt Ward one of the developers has a profile on

The Component Inspector can be found at Menu: Tools > Component Inspector


Show Assembly Panel
Default: Ticked

When ticked, this shows the Assemblies/Types tab between ActiveX/COM and Event Log.
Here you can drill down into a variety of .net assembles, including Clarion.exe (exe’s can be assemblies just like dll’s).

Show Controls Panel
Default: Unticked

If Ticked, this option can hang the IDE when you click OK, if you have previously run the Component Inspector during the same IDE session.
If you Ticked this option and then try to run the Component Inspector for the first time, the IDE will hang and crash.

Leave it unticked.

Show GAC panel
Default: Unticked

This adds a tab called GAC between the Assemblies/Types tab and Event Log tab if Show Assembly Panel is ticked, otherwise between the ActiveX/COM tab and Event Log tab.

The GAC stands for Global Assembly Cache and are folders in the Windows Directory.
.Net 4 is stored at %windir%\Microsoft.NET\assembly .
earlier versions are stored at %windir%\assembly .

This is where the Common Language Runtime (CLR) aka the .Net run-time and environment are stored. .Net or the CLR is Microsoft’s efforts to make a uniform development platform and runtime which will run on almost any device including RaspberryPi’s much like the Java framework from Oracle will run on most devices.

The .Net assemblies that are designed to be shared by all applications and executed on the system are stored in the %windir% assembly folders, Clarion’s assemblies are not designed to be shared by other applications and so are stored in the C:\Clarion11\ folder and subfolders.

More information here:

Its best to be thorough at this stage I think as I might make it available to a wider audience.