Example #1
0
 /**
  * Returns the file preferences for this plugin are saved in.
  *
  * @return The file.
  */
 private static final File getPrefsFile() {
   return new File(RTextUtilities.getPreferencesDirectory(), "macros.properties");
 }
Example #2
0
 /**
  * Returns the directory that macro definitions are saved to.
  *
  * @return The directory.
  */
 public File getMacroDir() {
   return new File(RTextUtilities.getPreferencesDirectory(), "macros");
 }