John McLear
644536b27b
fix for #2574
2015-04-02 13:16:49 +01:00
John McLear
0b90da19d2
Merge branch 'develop' of github.com:ether/etherpad-lite into editbar-accessibility
2015-03-31 23:32:15 +01:00
John McLear
70fdc7dcd7
Merge pull request #2423 from ether/fix/reimplement-ace-getAttributeOnSelection
...
Re-implement ace_getAttributeOnSelection
2015-03-31 23:21:49 +01:00
John McLear
e9d8c3b53a
expose method for getting a full user list on the client including historical data
2015-03-31 20:26:55 +01:00
John McLear
498e7f4961
MVP of alt A behavior to show author of line
2015-03-31 16:12:05 +01:00
John McLear
3126d7196e
fix alt and focus issues
2015-03-31 14:06:02 +01:00
John McLear
35948989b3
make Alt C and Alt F9 and Escape work from anywhere
2015-03-31 13:45:11 +01:00
John McLear
19e83d5405
much better chat focus toggle behavior
2015-03-26 16:58:13 +00:00
John McLear
428b547d24
alt c to focus on chat and gritter and chat both now work with aria
2015-03-26 16:44:22 +00:00
John McLear
e67ae522e2
support drop down show events
2015-03-25 23:30:17 +00:00
John McLear
e9360b6ed2
working f9 logic
2015-03-25 15:49:41 +00:00
John McLear
bc760e9494
logic to send focus back to pad on Alt F9 when focus on editbar
2015-03-25 15:38:19 +00:00
John McLear
5761e998de
first semi working alt f9 functionality
2015-03-25 11:03:45 +00:00
John McLear
a67664055d
disable cut renumbering of OLs so cut paste works
2015-03-24 09:58:02 +00:00
John McLear
83e6591f1a
temp fix for cut paste but might break some OL functionality
2015-03-24 09:52:17 +00:00
lid2000
7894545556
Return true from handleCut function
2015-03-13 16:01:18 +11:00
Chris Ball
063219bbce
Trigger renumbering when deleting (via cut) the first item of a list
...
Fixes #2514 .
2015-02-27 12:54:29 -05:00
John McLear
3cd8759cec
expose modernIE value
2015-01-21 15:21:31 +00:00
John McLear
3fd6e72657
try again
2015-01-21 15:06:29 +00:00
John McLear
a2cb8a2f19
rename back to browser
2015-01-21 15:01:39 +00:00
John McLear
f2891e3b8b
working
2015-01-21 14:55:29 +00:00
John McLear
ce40cacafa
mheh looks fixed
2015-01-21 14:49:06 +00:00
John McLear
990e14c904
working with a big hack
2015-01-21 14:25:24 +00:00
John McLear
34d6b31c98
some sanity
2015-01-21 13:24:21 +00:00
John McLear
eacf1118f8
blind attempt to try
2015-01-21 02:55:03 +00:00
John McLear
c315defc31
temp bodge fix
2015-01-19 15:15:52 +00:00
John McLear
ab71bc7c20
hrm
2015-01-19 14:45:49 +00:00
John McLear
33c62329ba
better regexp for line items
2015-01-19 00:28:32 +00:00
John McLear
0bd7914c3b
dont paste on middle click of link
2015-01-18 23:58:47 +00:00
John McLear
ca6b729ace
fix for ep page view pageup/down
2015-01-18 19:58:38 +00:00
John McLear
c0078abc75
Merge branch 'develop' of github.com:ether/etherpad-lite into fix/reimplement-ace-getAttributeOnSelection
2015-01-05 17:15:38 +00:00
Marcel Klehr
1451eecaf0
Re-implement ace_getAttributeOnSelection
2014-12-31 19:23:09 +01:00
Marcel Klehr
cfe75c7f3f
Clean-up after removing list attribute: Remove list numbering attribute
2014-12-30 17:45:26 +01:00
John McLear
9d66a446dc
support indentation up to 16 levels and dont go back afterwards
2014-12-27 13:18:58 +01:00
John McLear
10d92b6bf1
slightly better attribute selection logic but still pretty b0rked
2014-12-26 23:42:00 +00:00
John McLear
cfa3f15f94
Merge pull request #2373 from webzwo0i/avoid-global-vairables
...
dont make local variables global
2014-12-16 00:41:41 +00:00
webzwo0i
5d15f655f0
dont make local variables global
2014-12-14 22:01:28 +01:00
John McLear
3ca48ed975
fix undo in chrome etc
2014-11-27 16:49:08 +00:00
John McLear
e51ab2db24
fix for #2132
2014-11-26 23:37:44 +00:00
John McLear
5f2e830b72
whoopsi
2014-11-22 19:13:23 +00:00
John McLear
9b66c93d6b
swap out jquery browser for bower but expose browser object to all pages also enable minification.. Seems to work well
2014-11-22 19:11:35 +00:00
John McLear
fc79c8a298
Merge pull request #1912 from ether/hide-chat-when-caret-behind
...
Hide Chat Icon when the Caret is on the same line
2014-11-15 16:13:53 +00:00
John McLear
a52743d8f1
Merge pull request #2282 from ether/chrome-paste
...
Chrome browser change wrapping type
2014-11-13 13:00:32 +00:00
Prateek Saxena
2d597a4cab
Add keyboard shortcut to Clear Authorship Colors. Fixes #2292
2014-11-07 14:01:32 +05:30
John McLear
b59f6a4d6f
Update ace2_inner.js
2014-11-04 15:50:53 +00:00
John McLear
ac2e949c3e
chrome browser change wrapping type
2014-10-24 00:13:34 +01:00
Prateek Saxena
6f5f89bc6b
Use 'evt.shiftKey' instead of matching 'charCodes'
...
The shortcut wasn't running consistently and was blocking
'Cmd+L' on Chrome 38. Instead of going to the location bar
it would tooggle the list. Strangely, it did not override
'Cmd+N'. Using `evt.shiftKey` instead of matching the `charCode`
to the uppercase letter solves the problem.
2014-10-14 18:37:35 +05:30
Prateek Saxena
7b8953ee75
Add keyboard shortcuts for ordered and unordered lists and update tooltips #1987
...
Ordered List: Ctrl-Shift-N
Unordered List: Ctrl-Shift-L
2014-10-12 17:40:57 +05:30
Prateek Saxena
001d75cd1e
Add 'Ctrl-5' keyboard shortcut for 'strikethrough' #1987
...
A quick search revealed that 'Ctrl-5' is a popular shortcut
for strikethrough. Implemented in 'ace2_inner' and updated
the English l10n file for the tooltip.
2014-10-11 22:51:20 +05:30
John McLear
7151e7827a
allow tabs to be cycled when focus is in editor
2014-02-01 07:05:25 +00:00
John McLear
333d2f119b
expose update browser selection function
2013-12-18 22:13:03 +00:00
John McLear
1a138438eb
dont error when pressing del on rep 0 0
2013-12-18 18:34:35 +00:00
John McLear
8313083cd9
better handling for attribute queries
2013-12-17 20:48:19 +00:00
John McLear
24e96c4f8b
Merge pull request #2028 from webzwo0i/remove-deadcode
...
Remove deadcode
2013-12-09 10:49:57 -08:00
John McLear
505dc70df5
Merge pull request #2013 from ether/getAttributeOnSelection
...
getAttributeOnSelection function
2013-12-09 09:46:57 -08:00
webzwo0i
9400425b1e
[virtual_lines] remove traces of virtual_lines/makeVirtualLineView. this code was used for FF2 key handling code and is long unused
2013-12-08 17:33:58 +01:00
webzwo0i
e04f46d477
[ace2_inner] init() has replaced setup(), reflect this change in the comments and remove the unused setup()
2013-12-08 17:25:12 +01:00
webzwo0i
020bd3915c
remove empty&unused overlaysdiv
2013-12-08 17:24:12 +01:00
webzwo0i
4dd3584532
[ace2inner] remove unused function boldColorFromColor
2013-12-08 17:22:55 +01:00
webzwo0i
a714f63597
[ace2inner] remove unused recolorLineByKey that was part of old recolor module
2013-12-08 17:22:20 +01:00
webzwo0i
3dc844eb08
[ace2_inner] remove unused getLineKeyForOffset that was part of old recolor module
2013-12-08 17:21:53 +01:00
webzwo0i
eee355979d
[ace2_inner] remove unused function htmlForRemovedChild
2013-12-08 17:21:27 +01:00
webzwo0i
f25fed1c25
[ace2_inner] remove incorpIfQuick because its unused since July
2013-12-08 17:15:38 +01:00
John McLear
8a547b24ba
resolve issue where first char showed all formatting
2013-12-07 17:37:52 +00:00
Luc Didry
3d8452b143
Replace tabs indentation with spaces indentation
...
Some files are obviously external libraries, I didn't touch them
2013-12-05 08:41:29 +01:00
John McLear
30f577e8f4
dont assume formatting is on the start of any line
2013-12-01 20:01:17 +00:00
John McLear
95db100f12
remove white space
2013-12-01 18:56:05 +00:00
John McLear
39f81fdb9e
remove post ace event
2013-12-01 18:55:42 +00:00
John McLear
3791ad4186
ends of line shouldn't show incorrect formatted status
2013-12-01 18:54:46 +00:00
John McLear
b4877f002d
handle logic for line lengths with 0
2013-12-01 18:06:56 +00:00
John McLear
dee2dab7c4
getAttributeOnSelection function
2013-11-28 17:27:52 +00:00
John McLear
716e929e64
works but hides caret on full line and not on X too, X is much harder to do
2013-09-29 08:19:57 +01:00
John McLear
c8109b7398
sanity also control home support
2013-09-25 15:56:56 +01:00
John McLear
487f1a969f
vast improvement on movement of caret due to isolation of cause of problem - TLDR is Chrome detects blank rows line heights as incorrect
2013-09-25 14:57:02 +01:00
Dave Longley
3a47e719d4
Make pads with long lines usable with chrome.
...
- Do not use incorpIfQuick on keyup because it's not ever quick
on chrome. Calling incorpIfQuick calls incorporateUserChanges
which sets a flag on the current callstack state indicating
that the selection has changed (since something was typed).
Whenever this flag is set, the event handler will run code
to update the selection (and possibly scroll the view as
well), which is a very costly operation in webkit browsers.
Instead let the user changes be incorporated by the idle worker,
scheduling it to run ASAP on keyup. This isn't a perfect
solution, but may make pads running on webkit browsers more
usable with otherwise fairly unnoticeable changes in the UI.
2013-07-14 01:51:39 -04:00
Chia-liang Kao
f31db205da
allow cssmanager to manage outer_ace
2013-06-15 01:38:46 +08:00
Chia-liang Kao
548f31a46a
new hook: aceSetAuthorStyle
2013-06-06 13:03:40 +08:00
Chia-liang Kao
eae9faa28c
refactor setAuthorStyle
2013-06-06 12:30:48 +08:00
John McLear
f135f79d13
only try to redraw the line height of lines that exist..
2013-04-07 19:06:15 +01:00
John McLear
380821781f
dont use top, use the scheduler
2013-04-04 02:25:19 +01:00
John McLear
6a5e5cb6fd
Merge pull request #1640 from ether/caret-refactor
...
Caret refactor - I need help with tests...
2013-03-30 09:21:35 -07:00
John McLear
c67c7ca746
remove messy bits
2013-03-29 03:09:10 +00:00
Marcel Klehr
0ff5137da3
Make revision button glow on ctrl-s and increase duration
2013-03-28 16:39:33 +01:00
John McLear
59a9ff404d
more settimeout to top window
2013-03-28 13:18:55 +00:00
John McLear
c489177206
show light yellow for .5 secs on save revision keypress
2013-03-28 02:24:59 +00:00
John McLear
6b55d13370
expose ace document, reqjired for various plugins
2013-03-26 01:54:01 +00:00
John McLear
3562672a75
stop start point going negative
2013-03-18 18:44:01 +00:00
John McLear
27e9f91864
page up, down etc all working, still no shift page up/down for highlight but that never worked anyways
2013-03-18 18:03:37 +00:00
John McLear
9f54a65c88
refactored arrow keys now work after paste in chrome
2013-03-18 17:40:18 +00:00
John McLear
1bb9d1d625
remove pointless +
2013-03-14 18:23:27 -03:00
John McLear
26a6765b50
fix indent on chrome in linux
2013-03-08 08:40:40 -08:00
Marcel Klehr
5731ef7802
Fix ace rtlIsTrue property setter
2013-03-06 15:40:02 +01:00
John McLear
f9f8b1c079
allow chrome to do control z type functionality, not sure why this was never in.. broken when we last updated jQ anyway
2013-03-05 20:30:31 +00:00
John McLear
4a98ec3c23
resolve merge conflict
2013-02-20 22:37:27 +00:00
John McLear
ab81b5cfe9
dont jump pages
2013-02-18 19:46:31 +00:00
John McLear
5441179e78
dont jump pages
2013-02-18 19:38:25 +00:00
John McLear
e7a07a495c
Merge pull request #1531 from ether/fix-for-long-strings
...
make the focus jump back to the left if it's required
2013-02-18 11:26:46 -08:00
John McLear
77d03d3473
Try to add some sanity to indentation
2013-02-18 01:40:34 +00:00
John McLear
48ffbde731
allow colon to indent line
2013-02-18 01:10:54 +00:00
John McLear
51a9ecf1f0
better support for other browsers
2013-02-17 21:19:15 +00:00