fixed unmapped characters, added gitignore

This commit is contained in:
Edward Jakubowski
2014-03-12 21:55:43 -04:00
parent 3f5cd65610
commit 4f65c0b921
3 changed files with 9 additions and 4 deletions

5
.gitignore vendored Normal file
View File

@@ -0,0 +1,5 @@
bin/
build/
lib/
dist/
synthuse.properties

View File

@@ -250,8 +250,8 @@ public class SynthuseDlg extends JFrame {
return; //don't save bad xpath to combobox return; //don't save bad xpath to combobox
if (config.xpathList == null) if (config.xpathList == null)
config.xpathList = ""; config.xpathList = "";
if (!config.xpathList.contains(xpathItem + "<EFBFBD>")){ if (!config.xpathList.contains(xpathItem + "\u00ba")){
config.xpathList += xpathItem + "<EFBFBD>"; config.xpathList += xpathItem + "\u00ba";
refreshDatabinding(); refreshDatabinding();
cmbXpath.setSelectedItem(xpathItem); cmbXpath.setSelectedItem(xpathItem);
} }
@@ -413,7 +413,7 @@ public class SynthuseDlg extends JFrame {
public void refreshDatabinding() { public void refreshDatabinding() {
if (config.xpathList != null) if (config.xpathList != null)
cmbXpath.setModel(new DefaultComboBoxModel<String>(config.xpathList.split("<EFBFBD>"))); cmbXpath.setModel(new DefaultComboBoxModel<String>(config.xpathList.split("\u00ba")));
if (config.xpathHightlight != null) if (config.xpathHightlight != null)
XmlEditorKit.TAG_HIGHLIGHTED = config.xpathHightlight; XmlEditorKit.TAG_HIGHLIGHTED = config.xpathHightlight;
} }

View File

@@ -1,5 +1,5 @@
# #
#Sun Feb 16 21:34:31 EST 2014 #Wed Mar 12 21:53:43 EDT 2014
DEFAULT_PROP_FILENAME= DEFAULT_PROP_FILENAME=
urlList= urlList=
xpathList= xpathList=