mbien commented on issue #9145:
URL: https://github.com/apache/netbeans/issues/9145#issuecomment-3857932656

   the main editor component is based on `QuietEditorPane`, while the previews 
are `JEditorPane`s:
   
   
https://github.com/apache/netbeans/blob/a1c5fec82f1ffe36d18640b7baee0a53d4af190c/ide/refactoring.api/src/org/netbeans/modules/refactoring/spi/impl/PreviewManager.java#L134-L136
   
   `NBEditorUI` calls:
   
https://github.com/apache/netbeans/blob/a1c5fec82f1ffe36d18640b7baee0a53d4af190c/ide/editor/src/org/netbeans/modules/editor/NbEditorUI.java#L474-L477
   
   which is has a custom impl for the `QuietEditorPane`:
   
https://github.com/apache/netbeans/blob/a1c5fec82f1ffe36d18640b7baee0a53d4af190c/platform/openide.text/src/org/openide/text/QuietEditorPane.java#L147-L156
   
   but would simply return height/10 for the `JEditorPane`
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to