jrhenderson1988 / jsyntaxpane

Automatically exported from code.google.com/p/jsyntaxpane
0 stars 0 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