collective.codemirror-0.2
توضیحات
Integrate codemirror with Zope.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | collective.codemirror-0.2 |
| نام | collective.codemirror |
| نسخه کتابخانه | 0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | UNKNOWN |
| ایمیل نویسنده | UNKNOWN |
| آدرس صفحه اصلی | http://github.com/collective/collective.codemirror |
| آدرس اینترنتی | https://pypi.org/project/collective.codemirror/ |
| مجوز | gpl |
.. contents::
Introduction
============
CodeMirror is a JavaScript library that provides features commonly found in IDEs
(like syntax highlighting and smart indent) to browser-based editors.
This product monkey patches Zope PythonScript ZMI edit form to use CodeMirror.
It was tested in Chrome, Firefox and IE 9.
Aim
===
This product exists as a proposal of a feature addition to Zope itself: the author
thinks textareas are too uncomfortable for developers to edit their code.
Extending
=========
Including the file ++resource++codemirror/convertTextAreas.js all textareas with
class codemirror-python will be converted.
If an attribute called onCodeMirrorLoad is found on the textarea DOM element,
it will be called with the codeMirror object as parameter.
Contributors
============
- Silvio Tomatis, Original Author
- Alex Morega
- Eric Bréhault
Changelog
=========
0.2 (2012-05-09)
-------------------
- Enable fullscreen view (on F11 key) [ebrehault]
0.1 - 2012-03-23
----------------
- Fix compatibility with Zope 2.12 [alex-morega]
- Inital implementation: monkey patch Zope to use codemirror in the ZMI [silviot]
نحوه نصب
نصب پکیج whl collective.codemirror-0.2:
pip install collective.codemirror-0.2.whl
نصب پکیج tar.gz collective.codemirror-0.2:
pip install collective.codemirror-0.2.tar.gz