March 20, 2016
2:20 a.m.
On 20/03/2016 03:12, monty wrote:
How can you receive notification of a theme change (like going to or from the Dark theme), or even better, notification of a change to some property of syntax highlighting (like the styling used for string literals)?
Hi, For the theme change part, morphs should implement a #themeChanged method that should update the colours and send the method to his submorphs.
And what is the preferred way of querying the current syntax highlighting properties? I am using "SHTextStylerST80 new attributesFor: aProperty" now (SHPreferences doesn't provide enough), but there is talk of Shout being removed.
-- Cyril Ferlicot http://www.synectique.eu 165 Avenue Bretagne Lille 59000 France