vvv
|
ea66677b66
|
* Update Ace
* Fix JS code in order to make Ace work with new updates
|
2012-02-06 20:59:17 +00:00 |
|
Sam Reed
|
2d686fcbb5
|
Swap
/*
*
for
/**
*
|
2011-10-26 03:49:06 +00:00 |
|
Brion Vibber
|
852e1ee551
|
Fix for CodeEditor's form submit handler; unbind the handler when we disable the editor, and rebind it when we enabled it. Prevents sometimes failing to copy in updates properly or failing during save because an obj is unavailable.
|
2011-06-17 20:56:34 +00:00 |
|
Brion Vibber
|
e31035d86f
|
CodeEditor: compat fix for use as gadget on MediaWiki 1.17
$.map doesn't handle objects in jQuery before 1.6, so roll our own helper internally
|
2011-06-16 23:24:32 +00:00 |
|
Brion Vibber
|
c09fc16d54
|
Followup to r90240: clean up some stray code, check for an error condition
|
2011-06-16 23:04:26 +00:00 |
|
Brion Vibber
|
c981d97061
|
CodeEditor: add an interface for gadget loader to override the local $wgExtensionAssetsPath for CodeEditor's usage (to load its icons)
|
2011-06-16 22:51:39 +00:00 |
|
Brion Vibber
|
81ba498314
|
CodeEditor ext: basic ability to toggle the syntax-highlighting editor on/off.
When off, we restore the regular textarea and its behavior.
State is saved as a cookie, like other WikiEditor settings.
|
2011-06-16 22:30:01 +00:00 |
|
Brion Vibber
|
9578a2322f
|
CodeEditor: attempt at disabling some annoying keyboard shortcuts in Ace, but it's not working.
Issue filed upstream at https://github.com/ajaxorg/ace/issues/294 & asked about on mailing list.
|
2011-06-11 00:08:54 +00:00 |
|
Brion Vibber
|
5d42ce5f24
|
CodeEditor: fix to avoid selecting when inserting non-samples such as character insertions
Logging some stub func calls
|
2011-06-10 23:09:52 +00:00 |
|
Brion Vibber
|
3603c6acae
|
CodeEditor: now integrates with WikiEditor's search-replace
|
2011-06-10 20:04:17 +00:00 |
|
Brion Vibber
|
2b4a12cadf
|
CodeEditor: fix for encapsulateSelection; now handles replacements & selection for standard cases (bold/italic/link insertion, quote pairs, etc)
|
2011-06-10 19:32:53 +00:00 |
|
Brion Vibber
|
18af202a72
|
Partway through integrating CodeEditor more closely with WikiEditor. Special character insertions now work! Bold, link etc will insert their sample text, which is less useful but hey.
|
2011-06-10 01:11:18 +00:00 |
|