Highlightr icon indicating copy to clipboard operation
Highlightr copied to clipboard

How to make scrollable in macOS

Open fadielse opened this issue 5 years ago • 2 comments

Hi this library is cool.. but i got problem when i want to make NSTextview scrollable when the the text is over the height of textview. how to make it possible? I have done many experiments but it still hasn't worked

thanks

fadielse avatar Feb 21 '20 06:02 fadielse

Can you send a screenshot ?

codeshif avatar Jun 07 '20 00:06 codeshif

I'm not sure I understand what you are trying to do, maybe upload a video or screenshots? I currently use Highlightr in my text editor with no scroll issues.

RobertoMachorro avatar Sep 19 '20 15:09 RobertoMachorro

I just had the same problem as you, and solved it through the following ways:

let textContainer = NSTextContainer(size: CGSize(width: self.view.bounds.width, height: .greatestFiniteMagnitude))

Hope this helps those new to Highlightr

Panway avatar Jun 14 '23 04:06 Panway