Ed Sanders
28b480ca0a
Pass dataElement type to parent's toDataElement
...
Ensures the rendering is cached with the correct hash.
Bug: T151130
Depends-On: I80e2f2587cff8e9d9fe6ded5d8581263268deaa8
Change-Id: I64466cc342f7ab7f9d4539f935688d167853a662
2017-05-19 16:06:44 +02:00
Ed Sanders
f53d8c2e6e
VE: Support editing start line parameter
...
Change-Id: I869ac413f4d7581026353e2d54f9d22c6b6290f5
2017-05-15 09:49:42 +01:00
Ed Sanders
d150ddea1c
build: Replace jshint/jscs with eslint
...
Change-Id: I503a57bed2ee6bb648697d6245af0b0286b5f3ec
2016-11-19 13:56:05 +00:00
Ed Sanders
37711ca15c
VE: Fix combobox API and other issues
...
* Combobox is now an input widget so doesn't need .input
* Replace isValid with getValidity.
* Remove 'Show line numbers' from inline mode, as it has
no effect.
* Remove no-longer required z-index hack.
Bug: T150555
Change-Id: I3c4ac3cb6b174348cc3582469a86fb1a23ca7c51
2016-11-15 17:22:54 +00:00
James D. Forrester
cfbc206cb2
MWSyntaxHighlightWindow: It's ComboBoxInputWidget now
...
Change-Id: Id18b096103c82eea996c27be5b33b05615e74757
2016-11-09 11:39:12 -08:00
Derk-Jan Hartman
50075eaa66
Convert SyntaxHighlight names to Ace names
...
Provide a translation from Syntaxhighlight compatible Pygments and
GeSHi language names to CodeEditor compatible Ace lexer names
Now when you select php4, the CodeEditor will use the Ace lexer php,
instead of falling back to text mode.
Bug: T148515
Change-Id: Ibc209f97318614f764457726f8d55f4e15276d79
2016-10-31 14:13:36 +01:00
jenkins-bot
65de308fdc
Merge "VE: Ensure ext.pygments module gets loaded when a user adds a syntax highlight node"
2016-09-20 22:53:50 +00:00
Alex Monk
37ff7c6709
VE: Ensure ext.pygments module gets loaded when a user adds a syntax highlight node
...
Otherwise it won't get styled unless VE was loaded on a read page with one existing.
Bug: T60388
Change-Id: I32c02eda1e7dca077340c2bf3c15aadad7e3b61a
2016-09-20 22:24:40 +00:00
David Lynch
87736b516e
Enable live autocomplete
...
Bug: T138458
Change-Id: I8440957ebc04267807c55aa4b8b347ede1240021
2016-09-19 11:26:31 -05:00
Chad Horohoe
3a017611da
Add missing LICENSE and AUTHORS files
...
Bug: T138157
Change-Id: I9b1430c983f0ca6fea0bb0354796cffcff0030bb
2016-06-27 11:43:24 -07:00
Ed Sanders
d679469840
Introduce stylelint
...
Change-Id: Iea4d20abb8aa9d656639c8e128df0e963291cace
2016-05-19 17:44:00 +01:00
jenkins-bot
7bb06997dc
Merge "VE: Preserve context when calling parent static method"
2016-04-12 15:09:27 +00:00
Ed Sanders
f285f9e8c5
VE: Rename parent tool
...
InspectorTool is a deprecated alias.
Change-Id: If96a623cf260b01dad53e888ff111728b529ceec
2016-04-12 15:05:03 +01:00
Ed Sanders
635ef9c4c0
VE: Preserve context when calling parent static method
...
Change-Id: I32e9c13d549f8f13ca50cf8d244f0dfbc3f3bb8d
2016-04-01 12:59:32 +03:00
Ed Sanders
fbdf65a344
VE: Fix primary command on SH nodes
...
This fixes the double-click/press-enter to edit functionality.
Change-Id: I275c505d8a3abb7d7e3686ffacf52e54235241e7
2016-02-07 23:31:16 +00:00
Florian
3203eaf554
Fix inheritance of ve.ui.MWSyntaxHighlightDialogTool
...
From the description of the commit message[1] for WindowTool (which replaces
DialogTool) and FragmentWindowTool, the
ve.ui.MWSyntaxHighlightDialogTool should be a FragmentWindowTool,
and not a WindowTool/DialogTool.
In fact, the bug is caused by the missing isCompatibleWith method
in WindowTool.
[1] I3a0e761f0d6e942d503ec
Follow up: I676af9c50b09ef007926240eb2327d1a0fdd80f5
Bug: T121596
Change-Id: I0fa440d845c1dea34b623de0a36fb57cebf60f78
2015-12-19 01:27:14 +00:00
jenkins-bot
6267ec8450
Merge "VE: Register sequence with CommandHelp"
2015-11-05 15:36:41 +00:00
Ed Sanders
f24eb8bfba
VE: Register sequence with CommandHelp
...
Depends on I65e2bfc2 in VE-MW
Change-Id: I6054caa97c4f7e5fcd632912534deac977af6016
2015-11-05 10:14:14 +00:00
Ed Sanders
8a39d4f9dc
VE: Clear Ace's undo manager after setting initial value
...
Depends on Ia331acc41 in ve-mw.
Change-Id: Idf8cd4983d7ce8cd570f5672521b04a988bbc324
2015-10-30 16:27:43 +00:00
Ed Sanders
e127b3162b
VE: Add '<syntax' and '<source' sequences
...
Change-Id: Ie087fd665f527ea13254576ee07ebd029a1803ea
2015-10-22 11:56:48 +01:00
Ed Sanders
826c2cba40
Use Ace editor widget for code input
...
Depends on Ie483f6eba2 in ve-mw.
Bug: T49742
Change-Id: Ifaff6a5345fef92aba57b4fc00181f5b32cf7365
2015-10-21 17:32:15 +01:00
Ed Sanders
0f10206cf2
Use dialog for editing block level syntax highlights
...
Maintain the inspector for inline snippets (which are editable
but still not creatable).
Bug: T112617
Bug: T57934
Change-Id: I76e36590363d36c0d3db4ec28ce81c4860d9b467
2015-10-20 15:16:11 +01:00
Ed Sanders
10b6dee5a2
VE: Remove unnecessary validation check
...
Change-Id: I7cc68eaead398ed97baf620142386f8e0bab4fb9
2015-10-20 15:16:11 +01:00
Ed Sanders
30a98dcbcd
VE: Focus, but don't open, language input on open
...
Bug: T112798
Bug: T114202
Change-Id: Id70e8baea3687d5cd57ff3f45b5f332098451b7d
2015-10-20 15:16:05 +01:00
Ed Sanders
115fc92bfc
VE: Update renamed CSS class to restore fixed width font
...
Change-Id: I029cfdfc5eabb8358b7c3b0274f4e759134a3af5
2015-10-19 13:51:03 +02:00
Ed Sanders
c0482fe738
build: Update JSCS from 1.8.0 to 2.1.0 and make pass
...
Change-Id: I3b26c3cba814dcc8691f9f1ac04eb7dcc996f185
2015-09-18 16:01:40 +00:00
Ed Sanders
359c060eb7
Rename modules/VisualEditor to modules/ve-syntaxhighlight
...
Per new naming convention.
Change-Id: I0db6f70c2d7671eb9c25a6ff7eecf46eafb696d2
2015-09-18 12:14:39 +01:00