Crayon Syntax Highlighter - Version 1.5.1

Version Description

  • Fixed plain code toggle button update
Download this release

Release Info

Developer akarmenia
Plugin Icon wp plugin Crayon Syntax Highlighter
Version 1.5.1
Comparing to
See all releases

Code changes from version 1.5.0 to 1.5.1

Files changed (4) hide show
  1. crayon_wp.class.php +1 -1
  2. js/crayon.js +2 -2
  3. log.txt +18 -0
  4. readme.txt +4 -1
crayon_wp.class.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Crayon Syntax Highlighter
4
  Plugin URI: http://ak.net84.net/
5
  Description: Supports multiple languages, themes, highlighting from a URL, local file or post text. <a href="options-general.php?page=crayon_settings">View Settings.</a>
6
- Version: 1.5.0
7
  Author: Aram Kocharyan
8
  Author URI: http://ak.net84.net/
9
  License: GPL2
3
  Plugin Name: Crayon Syntax Highlighter
4
  Plugin URI: http://ak.net84.net/
5
  Description: Supports multiple languages, themes, highlighting from a URL, local file or post text. <a href="options-general.php?page=crayon_settings">View Settings.</a>
6
+ Version: 1.5.1
7
  Author: Aram Kocharyan
8
  Author URI: http://ak.net84.net/
9
  License: GPL2
js/crayon.js CHANGED
@@ -376,6 +376,8 @@ function toggle_plain(uid, hover, select) {
376
  }
377
  }
378
 
 
 
379
  // Remember scroll positions of visible
380
  crayon[uid].top = visible.scrollTop();
381
  crayon[uid].left = visible.scrollLeft();
@@ -425,8 +427,6 @@ function toggle_plain(uid, hover, select) {
425
  plain.focus();
426
  }
427
  }
428
-
429
- crayon[uid].plain_visible = (hidden == plain);
430
  });
431
 
432
  // Restore scroll positions to hidden
376
  }
377
  }
378
 
379
+ crayon[uid].plain_visible = (hidden == plain);
380
+
381
  // Remember scroll positions of visible
382
  crayon[uid].top = visible.scrollTop();
383
  crayon[uid].left = visible.scrollLeft();
427
  plain.focus();
428
  }
429
  }
 
 
430
  });
431
 
432
  // Restore scroll positions to hidden
log.txt CHANGED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ==============================================================================
2
+ Crayon Syntax Highlighter Log Entry
3
+ ==============================================================================
4
+ 4:23:40 AM - 08 Nov 2011
5
+ string(55) "The specified URL is empty, please provide a valid URL."
6
+ ------------------------------------------------------------------------------
7
+ ==============================================================================
8
+ Crayon Syntax Highlighter Log Entry
9
+ ==============================================================================
10
+ 4:24:23 AM - 08 Nov 2011
11
+ string(55) "The specified URL is empty, please provide a valid URL."
12
+ ------------------------------------------------------------------------------
13
+ ==============================================================================
14
+ Crayon Syntax Highlighter Log Entry
15
+ ==============================================================================
16
+ 4:24:41 AM - 08 Nov 2011
17
+ string(55) "The specified URL is empty, please provide a valid URL."
18
+ ------------------------------------------------------------------------------
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://ak.net84.net/
4
  Tags: syntax highlighter, syntax, highlighter, highlighting, crayon, code highlighter
5
  Requires at least: 3.0
6
  Tested up to: 3.3
7
- Stable tag: 1.5.0
8
 
9
  Syntax Highlighter supporting multiple languages, themes, fonts, highlighting from a URL, local file or post text.
10
 
@@ -90,6 +90,9 @@ Contact me at http://twitter.com/crayonsyntax or crayon.syntax@gmail.com.
90
 
91
  == Changelog ==
92
 
 
 
 
93
  = 1.5.0 =
94
  * Added ability to cache remote code requests for a set period of time to reduce server load. See Settings > Crayon > Misc. You can clear the cache at any time in settings. Set the cache clearing interval to "Immediately" to prevent caching.
95
  * Fixed a bug preventing dropdown settings from being set correctly
4
  Tags: syntax highlighter, syntax, highlighter, highlighting, crayon, code highlighter
5
  Requires at least: 3.0
6
  Tested up to: 3.3
7
+ Stable tag: 1.5.1
8
 
9
  Syntax Highlighter supporting multiple languages, themes, fonts, highlighting from a URL, local file or post text.
10
 
90
 
91
  == Changelog ==
92
 
93
+ = 1.5.1 =
94
+ * Fixed plain code toggle button update
95
+
96
  = 1.5.0 =
97
  * Added ability to cache remote code requests for a set period of time to reduce server load. See Settings > Crayon > Misc. You can clear the cache at any time in settings. Set the cache clearing interval to "Immediately" to prevent caching.
98
  * Fixed a bug preventing dropdown settings from being set correctly