Paul Griffith

Results 13 comments of Paul Griffith

I was working on Java 17, so I made some fairly significant changes (switch expressions, etc) and I switched to using a ByteBuffer for easy extraction of multi-byte values, but...

Also reproduced in RTextAreaDemo app with the Python sample. Seems to be a race of some kind within folding updating. Pretty consistent replication as follows in RTextAreaDemoApp: 1. Load the...

@bobbylight this seems to be related to the `hiddenLineCount` in `SyntaxView#paint` (there's a matching problem with the line numbers in `LineNumberList`). When the document changes (but the folds haven't yet...

I can reliably reproduce with `bottle.py`; haven't yet narrowed it down to a smaller SSCCE: https://bottlepy.org/docs/dev/tutorial.html#installation

SSCCE: ```python def abc2(): doSomething( a, ) pass ``` Seems to have to do with the mixed indentation on continuing lines. The trailing expression at a different indentation level is...

Verified the NPE in a unit test. Suggested fix above isn't sufficient, trying some different things here: https://github.com/paul-griffith/RSyntaxTextArea/tree/python-fold-npe

In your CompletionProvider, if you're extending `AbstractCompletionProvider`, you can override `getCompletionByInputText` to do something like: ``` return completions.stream() .filter(comp -> comp instanceof WeightedCompletion) .filter(comp -> comp.getInputText().startsWith(inputText)) .sorted(Comparator.comparingInt(WeightedCompletion::getWeight)) .collect(Collectors.toList()); ``` No...

@bobbylight Still working on this? I can pick it up.

Icon was originally pulled from https://inductiveautomation.frontify.com/api/attachment/download/eyJibG9ja19yZWZlcmVuY2UiOm51bGwsImlkIjozNDU5Nzd9:frontify:Y72tx6B1uD3Hq7B2raVOhEcoRZQJxC-vQj7EbKoqa7A

Yes, I used Inkscape to initially open the EPS, convert to a single path, etc.