mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-15 08:21:54 +00:00
better script search caching
placeobject getname fix
This commit is contained in:
@@ -255,6 +255,15 @@ public class DocumentSearchData {
|
||||
replaceDlg.setVisible(true);
|
||||
}
|
||||
|
||||
public void showQuickFindDialogEx(JTextComponent target,boolean ignoreCase,boolean regularExpresion) {
|
||||
if (quickFindDlg == null) {
|
||||
quickFindDlg = new QuickFindDialog(target, this);
|
||||
}
|
||||
quickFindDlg.showFor(target);
|
||||
quickFindDlg.setIgnoreCase(ignoreCase);
|
||||
quickFindDlg.setRegularExpression(regularExpresion);
|
||||
}
|
||||
|
||||
public void showQuickFindDialog(JTextComponent target) {
|
||||
if (quickFindDlg == null) {
|
||||
quickFindDlg = new QuickFindDialog(target, this);
|
||||
|
||||
@@ -7,11 +7,12 @@
|
||||
<Color blue="40" green="40" id="darkGray" palette="1" red="40" type="palette"/>
|
||||
</Property>
|
||||
<Property name="name" type="java.lang.String" value="QuickFindDialog" noResource="true"/>
|
||||
<Property name="resizable" type="boolean" value="false"/>
|
||||
<Property name="undecorated" type="boolean" value="true"/>
|
||||
<Property name="resizable" type="boolean" value="false"/>
|
||||
</Properties>
|
||||
<SyntheticProperties>
|
||||
<SyntheticProperty name="formSizePolicy" type="int" value="1"/>
|
||||
<SyntheticProperty name="generateCenter" type="boolean" value="false"/>
|
||||
</SyntheticProperties>
|
||||
<AuxValues>
|
||||
<AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
|
||||
|
||||
@@ -257,6 +257,20 @@ public class QuickFindDialog extends javax.swing.JDialog
|
||||
private javax.swing.JTextField jTxtFind;
|
||||
// End of variables declaration//GEN-END:variables
|
||||
|
||||
|
||||
//JPEXS added
|
||||
public void setIgnoreCase(boolean ignoreCase){
|
||||
jChkIgnoreCase.setSelected(ignoreCase);
|
||||
}
|
||||
//JPEXS added
|
||||
public void setRegularExpression(boolean regularExpresion){
|
||||
jChkRegExp.setSelected(regularExpresion);
|
||||
}
|
||||
//JPEXS added
|
||||
public void setWrap(boolean wrap){
|
||||
jChkWrap.setSelected(wrap);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void insertUpdate(DocumentEvent e) {
|
||||
updateFind();
|
||||
|
||||
Reference in New Issue
Block a user