Changelog
0.9.6 / 26 sep 07
- Fix for copy/cut and paste from and to CodePress window on Firefox
- Auto complete for '[(" do not duplicate if you type the same character again. Typing "" do not become """"
- Added # comment style to PHP language. Reported by mmj48
- LIKE keyword added to SQL syntax highlighting reserved words. Thanks to Kae Verens
- Added XSL syntax highlighting. Thanks to RJ Bruneel
- Added AutoIt syntax highlighting. Thanks to James Brooks
0.9.5 / 14 may 07
- Fix for pasted (ctrl+v) text inside CodePress
- Snippet trigger case insensitive. Better snippet trigger detection. Thanks to Martin
- Support for direct code input: cp.edit(document.getElementById('myCode').innerHTML,'html')
- Fix for problem of having other class names besides CodePress allowed classes
- Added ASP and VBScript syntax highlighting. Thanks to Martin
- Added C# syntax highlighting. Thanks to Edwin de Jonge
0.9.4 / 01 may 07
0.9.3 / 03 apr 07
- Added option to load editor without line numbers (besides de
toggleLineNumbers
method) - Added option to load editor without auto-complete and a
toggleAutoComplete
method - Added option to load editor as read only and a
toggleReadOnly
method - Fix for the $$ Firefix bug. Reported by AJ
- Fix for the select all (ctrl+a) bug with IE
- Fix for IE undo/redo
- Some methods name changes and code cleaning
0.9.2 / 24 mar 07
- CodePress package remade. No more server side scripts. Lots of simplifications
- codepress.js remade. No more menu. Only methods to be called from outside
- CodePress tag 'code' changed to 'textarea'
- Not using the $ anymore (conflicts with so many other js libs)
0.9.1 / 11 mar 07
- Added multiple CodePress windows support
- <? changed to <?php
- Fix for IE's problem of losing line breaks with load code on demand
- Fix to horizontal scroll problem for IE which deleted all code
- Fix to the "forward and back" problem on IE
version 0.9 / 31 jan 07
- Lots of changes to file/directory structures and names
- Added code snippets system
- Added a shortcut system
- Added menu with language chooser, full screen, show/hide line numbers and file name display
- Changed the way CodePress is added to a page
- Beggining of code auto-completion system
- Beginning of localization (l10n) efforts
- Beginning of simple interface customization through themes (css)
version 0.8.15 / 13 jan 07
- Fix for white space at the beginning of empty lines on IE. Made by Michael Hurni
- Fix for wrong break line at first line for IE
getCode()
method. Reported by Marco Luethy
- Added SQL syntax highlighting. Made by Merlin Moncure
version 0.8.14 / 30 dec 06
- Remade syntax highlighting regular expressions for all languages
- Changes to
setCode()
and getCode()
to support the above change
- Minor fix to
&
character on codepress.php
- Control character changed (no more
­
)
version 0.8.13 / 23 dec 06
- fix to a huge bug that happens only with Internet Explorer which erases all the code when you keep typing to the end of the line. Reported by JohnG
- fix to page up/page down problem with Internet Explorer
- fix to the "3 [enters] between quotes" bug in PHP syntax highlighting. Reported by Michael Hurni
- minor changes to JavaScript, Java, PHP and Perl regular expressions
version 0.8.12 / 03 dec 06
- fix to main syntax highlighting
for
loop. Thanks to eas
- fix to JavaScript
//
style comments. Thanks to Andrew
- added a generic syntax highlighting (for near future use). What is this?↓
When a language is not recognized or there is no highlighting for a language, a "generic" highlighting can be used instead of "plain text". Generic highlights common reserved words like if, for, while etc
version 0.8.11 / 04 nov 06
- otimization for editing big files (Internet Explorer and Firefox)
- added syntax highlighting for Perl language. Created by J. Nick Koston
- language specific regular expressions separated in codepress-[language].js files
- changes to
setCode()
to support the above change
- better way for loading code from textarea (read How to section above)
- fix for first line comments (//comment) for Java and JavaScript
version 0.8.10 / 29 oct 06
- renewed handling system for big files. Now code are splitted and highlighted while scrolling with mouse or page up/down (Firefox only, yet)
- fix for problems selecting small pieces of text with mouse. Reported by OGG
- fix for some scrolling problems
- fix for parsing control char (
­
) in getCode()
. Thanks to Gregor Goestl
- fix for parsing order of
&
>
and <
in getCode()
. Parsing order makes a huge difference here. Thanks to Gregor Goestl
version 0.8.9 / 22 oct 06
- CSS highlighting completely remade
- fix for
<?php
tags inside <?php
tags. Reported by alban.lopez. More↓
This will not work if the string starts with " (quotes) on one line and ends in a different line with a ". The (quote)php tags(quote) must be at the same line;
- fix for HTML entities in
setCode()
. Thanks to Gregor Goestl
- security fix for codepress.php. Thanks to Dustin Spicuzza
- fix for single-single quotes and
//
php comments. Reported by TobyL
version 0.8.8 / 18 oct 06
- fix to parse HTML tags in
setCode()
. Thanks to Dustin Spicuzza
- fix for wrong line break at end of code in
getCode()
(IE only). Thanks to Dustin Spicuzza again
- linenumbers.gif (44k) exchanged for linenumbers.png (16k). Thanks to Dustin one more time
- added syntax highlighting to CSS files. I'll try to highlight embedded HTML+JS+CSS soon
version 0.8.7 / 16 oct 06
- since this version CodePress uses PHP as it's server side language (very simple yet)
- better handling of big files splitting and highlighting parts of it (Firefox only). How this works?↓
See JavaScript example above to view this working. You'll notice that, if you scroll with the mouse, you'll see text not highlighted. Click the CodePress window and it will be highlighted. Page up/down automatically highlight code. This happens with files bigger then 6000 characters to prevent slowing down the highlighting process.
- added
CodePress.setCode()
to put some code inside CodePress window
- minor fix for PHP and Java highlighting regular expressions
version 0.8.6 / 12 oct 06
- fix for
&
code output
- added new css item to all languages to remove border from CodePress iframe window