This shows you the differences between two versions of the page.
— |
koda:en:documentation:options_code_generator_formatting [2014/07/10 10:48] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Formatting ====== | ||
+ | |||
+ | Doing Options -> Options and clicking on Formatting displays this pane: | ||
+ | |||
+ | {{ opt_formatting.png | ||
+ | \\ \\ | ||
+ | # | ||
+ | |||
+ | These settings apply to newly created Forms. They can be overridden in Tools -> Generating Options | Formatting. | ||
+ | |||
+ | The **Indent char** can be a //tab// or a //space//. The calls to GUI functions (in Message Loop mode), and OnClick functions (in OnEvent mode) are indented **Init** | ||
+ | |||
+ | The default is for Koda not to declare control ID and % variables: the **Scope** of **Variables** is //Not set//. //Global// declares the variables as Global; //Local// declares them as Local. | ||
+ | | ||
+ | |||
+ | # | ||
+ | |||
+ | This setting applies to newly created Forms. It cannot be overridden for the currently active form in Tools -> Generating Options. | ||
+ | |||
+ | The **Data separator** is the character used as the separator for parameters of GUI functions | ||