On Tue, 29 Oct 2024 19:56:39 GMT, Andy Goryachev <ango...@openjdk.org> wrote:
>> modules/jfx.incubator.richtext/src/main/java/jfx/incubator/scene/control/richtext/model/CodeTextModel.java >> line 95: >> >>> 93: protected void invalidated() { >>> 94: TextPos end = getDocumentEnd(); >>> 95: SyntaxDecorator d = get(); >> >> What does the get() method return? Why is it a decorator? I'm confused... > > it is in the context of `SimpleObjectProperty<SyntaxDecorator>()` > > this is a common pattern in FX controls' properties Thanks for explanation, now i get() it. ------------- PR Review Comment: https://git.openjdk.org/jfx/pull/1524#discussion_r1822886132