Skip to main content
.. 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]

Release files for collective.codemirror 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for collective.codemirror 0.2
File Size Uploaded
collective.codemirror-0.2.tar.gz 45.3 kB Details

Release files / collective.codemirror-0.2.tar.gz

Download URL collective.codemirror-0.2.tar.gz
Size 45.3 kB
Tags Source
SHA-256 checksum
How to use checksums
bd572cdc79d15a52ef39d26ec943fe7772db6bb058ae3747204b379d493eaf16
BLAKE2b-256 checksum
How to use checksums
f33c1bf29b23b669a029e088fd95d912292f6a686693d0859e49284f38846fd2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page