Syméon

Results 50 comments of Syméon

> [...]what I should do with the events from the scrollbar, since I don’t have access to it. Have you tried using `virtualizedScrollPane.setOnScroll(event -> { /*... */ })` to handle...

I see that the `VirtualizedScrollPane` uses scroll bar from JavaFX and sets the increment in `setupUnitIncrement` which is called in the constructor of the class: ```Java private static void setupUnitIncrement(ScrollBar...

Adding my fifty cents, as I did the exact same during last week (implementing syntax identification for group comments in Python). The Platform.runLater indeed delays the display (and I assume...

For your first point, `GenericEditableStyledDocumentBase` (used for `setStyleSpans`) seems to recalculate offset: ```Java public void setStyleSpans(int paragraphIndex, int from, StyleSpans

I had a quick look. I have no idea how to test the code on my side (I assume you have) so considering the simplicity of the change it seems...

I have managed to build and compile with the changes. But I have a difficulty integrating within my application because the style in my case depends on the parapraph position...

Some preliminary information on where the index is to help the investigation (I made a few assumptions along the way, it might require deeper investigation and testing, but I'm rather...

"Small" update: another solution (probably much simpler) would be that the `T item` contains both the paragraph and the index. This isthe createdVertical which pass `Function

Last comment from me and then I'll wait your input, it doesn't seem actually to difficult to add a flavour to the libraries to pass the index (my first proposal),...

As soon as I get some time this week I'll try to implement the fix I proposed if there is no additional inputs. It will involve adding a small addition...