jEdit Community - Resources for users of the jEdit Text Editor
Problem with Search dialog box not opening.
Submitted by prandmeth on Tuesday, 17 February, 2009 - 22:25
Has anyone had a problem with the Search window not opening in a multi-monitor environment under XP? I have had problems before with the Search dialog box coming up in odd sizes. That was solved by making sure the dialog was presented in the main monitor when it was closed. But now it doesn't seem to launch at all.
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
Macro to work around this issue
by brbonline on Thu, 25/06/2009 - 18:36
I run into this problem a lot, the search dialog appears to be missing because it has opened far off screen. Resetting the search.x in the ~/.jedit/properties file to a low value should restore the dialog to a usable position.

The problem can be easily avoided by mapping the ctrl-F shortcut to a macro that resets the search dialog position before opening it (see below.) The dialog is not repositioned if already displayed.

/*
* Centered_Search_Dialog
* Centers and opens a search dialog
*
* Remap keyboard shortcut ctrl-f to this macro to always open the search dialog
* in the center of the current window. If the search dialog is already open,
* do not reposition.
*
* The selected text is always set as the initial search value.
*/
SearchDialog searchDialog = SearchDialog.getSearchDialog(view);
if(!searchDialog.isVisible()){
searchDialog.setLocation(view.getX()+view.getWidth()/2-searchDialog.getWidth()/2,view.getY()+view.getHeight()/2-searchDialog.getHeight()/2);
}
SearchDialog.showSearchDialog(view,textArea.getSelectedText(),SearchDialog.CURRENT_BUFFER);
Problem with Search dialog box not opening.
by prandmeth on Wed, 18/02/2009 - 14:44
I seemed to have solved this problem by switching off all the Java experimental options in Utilities->Global Options..., Appearance. We recently loaded a new Java version here with which those options apparently do not work.
User login
Browse archives
« August 2014  
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
33%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1092
Syndication
file   ver   dls
German Localization light   4.4.2.1   46193
Context Free Art (*.cfdg)   0.31   36752
R Edit Mode - extensive version   0.1   10976
JBuilder scheme   .001   10738
Advanced HTML edit mode   1.0   10429
BBEdit scheme   1.0   10302
Matlab Edit Mode   1.0   10297
ColdFusion scheme   1.0   10290
jEdit XP icons   1.0   9752
XP icons for jEdit   1.1   9694