Hi Claudia,
> am I right to assume that retrieving a value with SCI_GETINDICATORVALUE is only possible if called either directly
> after SCI_SETINDICATORVALUE or SCI_INDICATORFILLRANGE but not anymore if called
> after setting either the same or different indicator by calling SCI_SETINDICATORCURRENT?
SCI_SETINDICATORCURRENT also sets the current value to 1 to avoid using an unexpected value on a different indicator. Most applications rarely use any value other than 1.
> Once SCI_SETINDICATORCURRENT is called again one should use SCI_INDICATORVALUEAT to get the value, correct?
SCI_INDICATORVALUEAT is to find the value at a particular location. SCI_GETINDICATORVALUE is the counterpart to SCI_SETINDICATORVALUE.
SCI_INDICATORVALUEAT is only used when your application is storing more than just a binary on/off in indicators. Perhaps you have a checker pass that highlights all spelling and grammar errors in one visual way but uses the indicator value 1 for spelling errors and 2 for grammar errors so that the context menu code can work out which options to show without rerunning the checker.
Your code should know what effect it wants to produce when creating indicator ranges and not need to call any read APIs. Call SCI_SETINDICATORCURRENT and then SCI_SETINDICATORVALUE if you are using a value other than 1.
Neil