summaryrefslogtreecommitdiff
path: root/lib/scripts/textselection.js
Commit message (Collapse)AuthorAge
* renamed conflicting JavaScript functions FS#2915Andreas Gohr2014-01-17
|
* Fix CodeSniffer whitespace violoationsMatt Perry2013-09-10
| | | | | Removed extraneous whitespace to eliminate errors reported by the Squiz.WhiteSpace.SuperfluousWhitespace sniff.
* Various JavaScript improvements, JSLint, jQueryAdrian Lang2011-09-13
|
* Fixed automatic insertion of listbullets in Opera FS#1877Michael Hamann2010-06-27
| | | | | | | | The keydown event can't be prevented in Opera (see http://www.quirksmode.org/dom/events/keys.html) so this switches back to keypress in Opera (keypress doesn't give the correct key codes in Firefox). Furthermore Opera replaces '\n' by '\r\n' when inserting text, thus the offset for cursor/selection placement was wrong.
* Support getSelection in input fields in IEAdrian Lang2010-04-29
|
* JavaScript syntax fixesAdrian Lang2010-03-29
|
* fixed IE text selection (needs testing) FS#1808Andreas Gohr2009-11-28
| | | | | | | | | | | | Ignore-this: c8405fda4cbf2e1fa9d89609e1df666e This seems to fix the text seelction problem in IE when the selection starts or ends at a newline. This was only tested in IE8 so far but should work in IE6 and IE7, too. Please provide feedback if not. darcs-hash:20091128165402-7ad00-cb9a38e7f245b441afe40a15422930ad60805a56.gz
* small JS fixAndreas Gohr2009-08-14
| | | | | | Ignore-this: 42bc05343dabfa0b7cb7b14b9ba61834 darcs-hash:20090814092553-7ad00-89080ef0ba30d25b3d85afbb8a0a29a6e28b7b07.gz
* some cleanup in the IE selection handlingAndreas Gohr2009-08-06
| | | | | | Ignore-this: 5a6b527fbf3f2ffc79e3ceef11552763 darcs-hash:20090806093833-6e07b-f5fbd738bff54ec6a3488e4fb9ab98c6e49799d4.gz
* Some text selection workarounds for MSIEAndreas Gohr2009-08-04
| | | | | | | | | | | | Ignore-this: b4a14bbf96712ec9ce9011e172f2af81 This patch solves some problems with reading the cursor positions and text selection on MSIE. note: development was part of the ICKE 2.0 project see http://www.icke-projekt.de for info darcs-hash:20090804150501-6e07b-5e3cf60261f5f51906df2d4cf15509e9075757e0.gz
* improved list handlingAndreas Gohr2009-08-04
| | | | | | | | | | | | | | | | | | | | | | | | | | Ignore-this: 2e4f3fbfb28917ee66cf3e1925c806d3 This patch adds multiple enhancements to handling lists and indented code blocks in the editor. 1. Pressing enter when in a list item or code block will keep the indention and adds a new list point 2. Pressing space at the start of a list item will indent the item to the next level 3. Pressing bckspace at the start of a list item will outdent the item to the previous level or delete the list bullet when you are at the 1st level already 4. A new type of formatting button called formatln is added. It applies formatting to several lines. It's used for the list buttons currently and makes it possible to convert mutiple lines to a list This enhncement are currently only tested in Firefox are most likely to break IE compatibility. A compatibility patch will be submitted later note: development was part of the ICKE 2.0 project see http://www.icke-projekt.de for info darcs-hash:20090804095707-7ad00-e565c66087c7121188ad7ece8265d9f64f7e6947.gz
* reset scroll position when setting selection FS#1707Andreas Gohr2009-06-03
| | | | | | Ignore-this: cb035f32eccc0fcb2c9163b8620abb91 darcs-hash:20090603170042-7ad00-07ee60074714d6d23d34e59269776ccb504d1f0a.gz
* more javascript refactoringAndreas Gohr2009-05-28
Ignore-this: 10badc0f97ef80fcd366ae4622c43ff1 darcs-hash:20090528121543-7ad00-df34efabe84c632df9ef0c6fd691c991d2c3ac82.gz