LOGIN / SIGN UP

#23 Support define/template sections in configuration

Reported by: pekdon Assigned to: pekdon
Phase: release-0.1.6 Component: configuration
Type: enhancement Status: closed
Priority: 3: Medium
Watchers:

Description

Currently configuration of decors is very verbose due to the length of defining border sections etc. It should be possible to define templates in the configuration to define sections of configuration.

Example definition:

Define = "CommonBorder" {

  Focused {
    TopLeft = "Solid black"
    TopRight = "Solid black"
    ...
  }
  ...

}

Example usage:

Border {

  @CommonBorder
  Focused {
    TopLeft = "Solid white"
  }

}

Which will use CommonBorder structure overriding the values with the values further down in the section.

2008-10-17

19:48:15 changed from open to closed
19:48:08

Value overriding is working where it is "possible" now, closing.

10:25:55

Non nested value overriding is now working in parser, sub-section handling has not been tested yet and probably does not work.

10:21:20 changed from new to open