nordfalk / jsyntaxpane

An updated version of code.google.com/p/jsyntaxpane r096 branch
36 stars 22 forks source link

Quick Find generates error when editor not hosted in JViewPort #122

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Host the editor in a JTabbedPane
2. Run it, press Ctrl-F, it will complain that it can't cast to JViewPort.

I changed the code in actions/gui/QuickFindDialog.java to use JComponent
instead of JViewPort, it's working fine now.

Original issue reported on code.google.com by gtanuel@gmail.com on 4 Nov 2009 at 8:35

GoogleCodeExporter commented 9 years ago
Fixed in r119.  
I Changed it to a Container, and avoided the cast altogether.

Original comment by ayman.al...@gmail.com on 8 Nov 2009 at 10:26