Cool, so I can copy a dictionary entry, use my scope and make up a name - and colour.
I’m not concerned about any other functions, variables, etc., at the moment - I just want(ed) the code a little less monochrome. I’m still learning the API at the moment, so I was particularly interested in these methods.
The ST API documentation is quite limited, and I’m sure it’s only mentioning a fraction of what’s available. It doesn’t mention on_query_completions, extract_completions, match_selector, or describe arguments in enough detail. So it’s been mainly a question of trawling through, and deciphering, any code samples I can find.
I’m quite keen to pursue ‘on_query_completions’ and might build on this, together with a completions (or other source) file. Python and/or, more specifically, the API would be a sensible choice for this (as I can learn the language at the same time ). Besides, CodeIntel seems to have fallen by the wayside. *
I’ll modify the theme file tomorrow… and possibly come back if I can’t get a nice orange effect . Andy.
Off-topic: What’s a straight-forward way (with the API) to position the cursor? I know I could use run_command, but…*