Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 1.4 KB

TODO.md

File metadata and controls

23 lines (16 loc) · 1.4 KB

#Todo

  1. Syntax definitions conflate language keywords and function, class method names. Adding additional recolouring is not difficult but the syntax definitions would have to be carefully filtered for all languages.

  2. Autocomplete keyword colouring. Autocomplete keywords can be specified and coloured separately to keywords. To me it seems that keywords should be defined by the language syntax. Autocomplete items should contain a list of available functions, names, constants and methods. At present, for most definitions, these items have been incorporated into the keyword list. Perhaps the name of this group is what has confused people in the past (it has certainly confused me). Another name? Perhaps ?. In my option true keywords should not autocomplete.

  3. Unit tests. Define strings. Colour them and validate the colouring.

  4. Define source files in the bundle for each supported language type. These can be loaded in the example app to validate colouring. An NSStepper might be useful too.

  5. Delegate colouring protocol seems useful. Perhaps it can be extended.

  6. Would SMLTextView subclassing be beneficial? The client could pass in the required subclass name in the document spec.

  7. Syntax definitions are currently loaded from the framework bundle. It would be useful if the client app could supply an externally defined syntax definition dictionary to provide custom language support.