EditorGadget scroll (under Linux)

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
rndrei
Enthusiast
Enthusiast
Posts: 153
Joined: Thu Dec 28, 2023 9:04 pm

EditorGadget scroll (under Linux)

Post by rndrei »

As in EditorGadget to make the text scroll down automatically when you add the line AddGadgetItem(#EDITOR, number_editor,Output$)?

// Moved from "Bugs - Linux" to "Feature Requests and Wishlists" (Kiffi)
User avatar
Shardik
Addict
Addict
Posts: 2060
Joined: Thu Apr 21, 2005 2:38 pm
Location: Germany

Re: EditorGadget scroll (under Linux)

Post by Shardik »

Have you already tried my cross-platform procedure AddLine()? It adds a line at the bottom and scrolls down to that line (on MacOS, Linux and WIndows).
User avatar
rndrei
Enthusiast
Enthusiast
Posts: 153
Joined: Thu Dec 28, 2023 9:04 pm

Re: EditorGadget scroll (under Linux)

Post by rndrei »

thanks, it's work!
User avatar
rndrei
Enthusiast
Enthusiast
Posts: 153
Joined: Thu Dec 28, 2023 9:04 pm

Re: EditorGadget scroll (under Linux)

Post by rndrei »

This function, which refers to @shardik, does not work if the text is large! Can you add the pumping function to the last element in the future version!?
Post Reply