Skip to content

Commit

Permalink
Merge pull request #735 from fesch/bugfix
Browse files Browse the repository at this point in the history
Missing CodeParser.java changes -> version 3.29-12
  • Loading branch information
codemanyak authored Aug 4, 2019
2 parents 9510ba2 + 1d5b87b commit 12ee55b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lu/fisch/structorizer/gui/Mainform.java
Original file line number Diff line number Diff line change
Expand Up @@ -1421,7 +1421,7 @@ public void doOSX() {
// General info dialog; fed to the OSXAdapter as the method to call when
// "About OSXAdapter" is selected from the application menu
public void about() {
about();
diagram.aboutNSD();
}

// General preferences dialog; fed to the OSXAdapter as the method to call when
Expand Down
12 changes: 10 additions & 2 deletions src/lu/fisch/structorizer/parsers/CodeParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
* Kay Gürtzig 2018-10-25 Enh. #419: Support for automatic breaking of long lines (postprocess)
* Kay Gürtzig 2018-10-29 Enh. #627: New field exception in order to provide stacktrace info if available
* Issue #630: New member class FilePreparationException
* Kay Gürtzig 2019-02-19 Bugfix #684 (empty FOR-In loop keyword on loading preferences mutilated
* Kay Gürtzig 2019-02-19 Bugfix #684 (empty FOR-In loop keyword on loading preferences mutilated
* Kay Gürtzig 2019-08-02 Issue #733: New method getPreferenceKeys() for partial preference export
*
******************************************************************************************************
*
Expand Down Expand Up @@ -1370,6 +1371,13 @@ protected void initializeBuildNSD() throws ParserCancelled
keywordMap.put("output", "OUTPUT");
}

// START KGU#466 2019-08-02: Issue #733 - Support selective preference export
public static String[] getPreferenceKeys()
{
return new String[] {"Parser*"};
}
// END KGU#466 2019-08-02

public static void loadFromINI()
{
final HashMap<String, String> defaultKeys = new HashMap<String, String>();
Expand Down Expand Up @@ -1426,7 +1434,7 @@ public static void loadFromINI()
Logger.getLogger(CodeParser.class.getName()).log(Level.WARNING, "Ini", e);
}
}

public static void saveToINI()
{
try
Expand Down

0 comments on commit 12ee55b

Please sign in to comment.