What we want
- http://en.wikipedia.org/wiki/Comparison_of_JavaScript-based_source_code_editors
- With realtime Syntax highlighting
- Compatible with our License
- Support for PHP, JavaScript, HTML, CSS, MySQL, Smarty, YAML so we can Dogfood within Tiki.
- Support for other popular languages (Python, Java, etc.)
- Possible to add syntaxes, such as Tiki markup so we can do something like WikiWizard
- Ideally will open the door to Web commits
- To find an open source project happy to be integrated in Tiki and that could help us.
Wishes
Open
Pending
Closed
Todo
-
discuss- investigate project stats on https://www.ohloh.net/tags/source/syntax_highlighter
-
pickCodeMirror has been picked -
contact project - integrate tightly
-
Text areasdone - Theme generator
- Edit CSS ->
Use CSS here: tiki-edit_css.phpdone in 9.2 - Edit Templates -> Use Smarty here: tiki-edit_templates.php
-
- add syntaxes
Bugs
- 2013-01-31: 10.x Can't paste text (that is in my clipboard) with Android browser in comment box of a tracker item on dev.tiki.org. Workaround: Toggle highlighter
- 2012-09-29: Doing CTRL-F to find test on a page will not find all results. Workaround: Toggle highlighter
- Try here: http://profiles.tiki.org/tiki-editpage.php?page=CartoGraf and find "attach". With CodeMirror, there are 2 results. If I click "Toggle Highlighter" to turn it off, I now have 7 results.
- Marijn Haverbeke on the mailing list wrote:
This is expected behavior. For performance reasons, CodeMirror only
renders the part of the document that is visible. Thus, the browser won't search through the rest.If this is a big issue for you, you can use the viewportMargin option that's in the v3 branch
(http://codemirror.net/3/doc/manual.html#option_viewportMargin), but don't do that if you want big documents to be fast.- 2013-11-17: still an issue in 12.x with CodeMirror 3.x
-
- Try here: http://profiles.tiki.org/tiki-editpage.php?page=CartoGraf and find "attach". With CodeMirror, there are 2 results. If I click "Toggle Highlighter" to turn it off, I now have 7 results.
- Fullscreen needs to auto-detect buttons that are found below on the page if any (like wiki: save, preview, etc) and add them if not, make sure if buttons are hidden, they are not added.
- http://irc.tiki.org/irclogger_log/tikiwiki?date=2012-09-30,Sun&sel=204#l200
- When I edit a Wiki page and press Home or End keys, the cursor jumps not to the start/end of line, but the start/end of paragraph.
Feedback from 8.x
- False positives
- Strike trough syntax here: http://dev.tiki.org/Semi-automatic+merging+period
- PluginCode is missing a way to have colors "none" (ex.: when it doesn't have a syntax like sql)
Feedback from 7.x experimental
[+]Robert & Marc
7.x
-
PluginCode: CodeMirror is doubling up(seems good to me - jb 110714) -
Upgrade 7.x to CodeMirror 1.0 to get bug fixes(done jb 110714)
Trunk
-
Upgrade trunk to CodeMirror2 to get new goodies- Use YAML parser for profiles.tiki.org
- This works but you need to use the yaml param for each plugin
- A perfect example for Override default params for plugins
- This works but you need to use the yaml param for each plugin
- the 8 .js files should be minified
- Make strings translatable
- Use YAML parser for profiles.tiki.org
Related links
- http://techmix.net/blog/2010/08/20/best-online-source-code-editor-collection-must-have-for-a-developer/
- http://smashinghub.com/40-useful-online-applications-for-web-designers-and-developers.htm
- Syntax highlighter
- Syntax highlighting
- PluginCode
- web-based code editor
- Code Mirror
- CodeMirror
- webeditor
- web editor
Options
[+]v3 Dogfood testing
Related
- Comparing ACE and CodeMirror on Ohloh.net
- http://sandeep.shetty.in/2011/05/codemirror-vs-ace.html
- http://www.chris-granger.com/2012/04/12/light-table---a-new-ide-concept/
- http://code.google.com/p/collide/
- http://techcrunch.com/2012/06/18/mozilla-launches-thimble-a-web-based-code-editor-for-teaching-html-and-css/
- http://java.dzone.com/articles/5-reasons-why-5-years-desktop
Realtime
Alias names for this page:
ACE | codeeditor | code editor