Permalink
Browse files

updated copyright year

  • Loading branch information...
kstenschke committed Mar 17, 2013
1 parent 19f0cde commit 90674847adb07209b215d808806249915b6d2263
Showing with 149 additions and 245 deletions.
  1. +118 −185 .idea/workspace.xml
  2. +16 −16 META-INF/plugin.xml
  3. +1 −1 README.textile
  4. BIN out/production/Realigner/com/kstenschke/realigner/Settings.class
  5. BIN out/production/Realigner/com/kstenschke/realigner/resources/forms/PluginConfiguration.class
  6. BIN out/production/Realigner/com/kstenschke/realigner/resources/forms/SplitOptions.class
  7. BIN out/production/Realigner/com/kstenschke/realigner/resources/forms/WrapOptions$1.class
  8. BIN out/production/Realigner/com/kstenschke/realigner/resources/forms/WrapOptions$2.class
  9. BIN out/production/Realigner/com/kstenschke/realigner/resources/forms/WrapOptions$3.class
  10. BIN out/production/Realigner/com/kstenschke/realigner/resources/forms/WrapOptions$4.class
  11. BIN out/production/Realigner/com/kstenschke/realigner/resources/forms/WrapOptions$5.class
  12. BIN out/production/Realigner/com/kstenschke/realigner/resources/forms/WrapOptions.class
  13. +1 −1 src/com/kstenschke/realigner/Preferences.java
  14. +3 −34 src/com/kstenschke/realigner/Settings.java
  15. +1 −1 src/com/kstenschke/realigner/SettingsComponent.java
  16. +1 −1 src/com/kstenschke/realigner/TextualHelper.java
  17. +1 −1 src/com/kstenschke/realigner/actions/JoinAction.java
  18. +1 −1 src/com/kstenschke/realigner/actions/SplitAction.java
  19. +1 −1 src/com/kstenschke/realigner/actions/WrapAction.java
  20. +1 −1 src/com/kstenschke/realigner/resources/forms/PluginConfiguration.java
  21. +1 −0 src/com/kstenschke/realigner/resources/forms/SplitOptions.form
  22. +1 −1 src/com/kstenschke/realigner/resources/forms/SplitOptions.java
  23. +2 −1 src/com/kstenschke/realigner/resources/forms/WrapOptions.java
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -1,5 +1,5 @@
<!--
- ~ Copyright 2012 Kay Stenschke
+ ~ Copyright 2012-2013 Kay Stenschke
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
@@ -24,53 +24,53 @@
and to remove white-space lines from a multi-line selection.
The plugin settings allow for setting up configurations of quickly accessible preconfigured options,
available than in the wrap dialog.
- <br><br>
+ <br/><br/>
Realigner adds the following editing tools:
- <br><ul>
+ <br/><ul>
<li>Ctrl+Shift+Alt+J - Joins selected lines by removing linefeeds. Optionally, a "gluing" string can be used as delimiter
<li>Ctrl+Shift+Alt+L - Splits current line or selection into multiple lines at, before or after an arbitrary delimiter
<li>Ctrl+Shift+Alt+W - Wraps current line / selection / each of multiple selected lines with an arbitrary prefix and/or postfix string
</ul>
- <br>Please note: This plugin is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- <br>
- <br>The icons used in this plugin are part of the Fugue iconset (http://p.yusukekamiyamane.com/)
+ <br/>Please note: This plugin is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ <br/>
+ <br/>The icons used in this plugin are part of the Fugue iconset (http://p.yusukekamiyamane.com/)
]]></description>
<vendor url="" email="info@stenschke.com">Kay Stenschke</vendor>
<version>1.0.7</version>
<idea-version since-build="8000"/>
<change-notes><![CDATA[
- <br>
- 1.0.8<br><ul>
+ <br/>
+ 1.0.8<ul>
<li>Added auto-generated button label suggestion to wrap options of plugin settings</li>
<li>Added plugin settings icons</li>
</ul>
- 1.0.7<br><ul>
+ 1.0.7<ul>
<li>Bugfix: plugin settings compatibility issues with PhpStorm</li>
</ul>
- 1.0.6<br><ul>
+ 1.0.6<ul>
<li>Added plugin settings: configuration for quick wrap buttons</li>
</ul>
- 1.0.5<br><ul>
+ 1.0.5<ul>
<li>Added option to remove blank/white-space lines while wrapping</li>
<li>Added updating of text selection after wrapping</li>
</ul>
- 1.0.4<br><ul>
+ 1.0.4<ul>
<li>Added retaining of options preferences (application level)</li>
<li>Added disabling of options when no project, editor or necessary selection given</li>
</ul>
- 1.0.3<br><ul>
+ 1.0.3<ul>
<li>Added missing title text to dialog window of split and wrap option</li>
<li>Added error message when trying to join w/o multiple lines of selection</li>
</ul>
- 1.0.2<br><ul>
+ 1.0.2<ul>
<li>Changed wrap tool to work also w/o any surrounding text (to allow being used for escaping only)</li>
<li>Added options to escape single/double quotes and backslashes while wrapping</li>
</ul>
- 1.0.1<br><ul>
+ 1.0.1<ul>
<li>Added splitting options: split at / before / after delimiter</li>
</ul>
- 1.0.0<br><ul>
+ 1.0.0<ul>
<li>Initial release</li>
</ul>
]]></change-notes>
View
@@ -31,7 +31,7 @@ The icons used in this plugin are part of the "Fugue iconset by p.yusukekamiyama
h2. License
-Copyright 2012 Kay Stenschke
+Copyright 2012-2013 Kay Stenschke
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
/*
- * Copyright 2012 Kay Stenschke
+ * Copyright 2012-2013 Kay Stenschke
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
/*
- * Copyright 2012 Kay Stenschke
+ * Copyright 2012-2013 Kay Stenschke
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -82,43 +82,12 @@ private static String loadWrapButtonItemsConfig() {
-// /**
-// * Remove wrap button config from wrap button items store
-// *
-// * @param buttonLabel
-// * @param prefix
-// * @param postfix
-// * @param escapeSingleQuotes
-// * @param escapeDoubleQuotes
-// * @param escapeBackslashes
-// * @param removeBlankLines
-// */
-// public static void removeWrapButtonItemFromStore(String buttonLabel, String prefix, String postfix, Boolean escapeSingleQuotes, Boolean escapeDoubleQuotes, Boolean escapeBackslashes, Boolean removeBlankLines) {
-// if( !buttonLabel.isEmpty() ) {
-// // Get button config, stored button items
-// String buttonConfig = renderWrapButtonConfigStr(buttonLabel, prefix, postfix, escapeSingleQuotes, escapeDoubleQuotes, escapeBackslashes, removeBlankLines);
-// String wrapButtonsConfig= loadWrapButtonItemsConfig();
-//
-// if( wrapButtonsConfig == null ) {
-// wrapButtonsConfig = "";
-// } else {
-// // Remove button config
-// wrapButtonsConfig = wrapButtonsConfig.replace(buttonConfig, "");
-// }
-// // Save to store
-// saveWrapButtonItemsConfig(wrapButtonsConfig);
-// }
-// }
-
-
-
/**
* Find and remove button item with given label from store
*
- * @param buttonLabel
+ * @param buttonLabel
*/
public static void removeWrapButtonItemFromStore(String buttonLabel) {
- // Find index of button with given label
Object[] buttonLabels = getAllWrapButtonLabels();
if( buttonLabels != null ) {
Integer deleteButtonIndex = null;
@@ -274,7 +243,7 @@ public static String getPostfixByIndex(Integer index) {
private static Object[] getAllWrapButtonBoolOptionsByIndex(Integer index) {
String storeItemsConfig = loadWrapButtonItemsConfig();
- // Extract only item prefixes into array
+ // Extract only item prefixes into array
List<String> items = new ArrayList<String>();
if( storeItemsConfig != null && !storeItemsConfig.isEmpty()) {
String[] configs = storeItemsConfig.split("##/WBPOSTFIX##");
@@ -1,5 +1,5 @@
/*
- * Copyright 2012 Kay Stenschke
+ * Copyright 2012-2013 Kay Stenschke
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
/*
- * Copyright 2012 Kay Stenschke
+ * Copyright 2012-2013 Kay Stenschke
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
/*
- * Copyright 2012 Kay Stenschke
+ * Copyright 2012-2013 Kay Stenschke
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
/*
- * Copyright 2012 Kay Stenschke
+ * Copyright 2012-2013 Kay Stenschke
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
/*
- * Copyright 2012 Kay Stenschke
+ * Copyright 2012-2013 Kay Stenschke
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
/*
- * Copyright 2012 Kay Stenschke
+ * Copyright 2012-2013 Kay Stenschke
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -96,6 +96,7 @@
</constraints>
<properties>
<icon value="com/kstenschke/realigner/resources/images/arrow-split.png"/>
+ <labelFor value="6fad"/>
<text value="Delimiter"/>
</properties>
</component>
@@ -1,5 +1,5 @@
/*
- * Copyright 2012 Kay Stenschke
+ * Copyright 2012-2013 Kay Stenschke
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
/*
- * Copyright 2012 Kay Stenschke
+ * Copyright 2012-2013 Kay Stenschke
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -75,6 +75,7 @@ public WrapOptions() {
// Add button action
final String prefix = allButtonPrefixConfigs[i].toString();
final String postfix= allButtonPostfixConfigs[i].toString();
+
final Boolean escapeSingleQuotes = allButtonEscapeSingleQuoteConfigs[i].equals("1");
final Boolean escapeDoubleQuotes = allButtonEscapeDoubleQuoteConfigs[i].equals("1");
final Boolean escapeBackslashes = allButtonEscapeBackslashConfigs[i].equals("1");

0 comments on commit 9067484

Please sign in to comment.