| 1 |
FOR AUTOCOMPLETION: |
| 2 |
- work with tab editing (each one having it's context) |
| 3 |
- allow $ in prefix |
| 4 |
- allow to call user function for autocompletion |
| 5 |
- correctly display the box with window limits |
| 6 |
- enable "live" detection for new syntax keyword in the file |
| 7 |
- display a long description of the keyword (arround the box) |
| 8 |
|
| 9 |
DONE: |
| 10 |
- beeing able to prefix those word by key words (sort of namespace) |
| 11 |
- hide it on click |
| 12 |
- enable it for ctrl+space in the middle of a word |
| 13 |
|
| 14 |
/***** To do Needed *****/ |
| 15 |
|
| 16 |
- Internet explorer: adding a caracter one the longest line as for consequence to make a scrollLeft=0 (in non wrapped mode) |
| 17 |
- Do optimisation for trying to only update the changed line in content_highlight |
| 18 |
- add real IE8 support (fix the tabulation width bug in IE8 that has now always the same width no matter the font-size and font-family in textarea but not in <pre>...) |
| 19 |
- change_callback is called one time at the beginning event if the text has not changed |
| 20 |
- check later init call with safari 3 |
| 21 |
- improve callback documentation. |
| 22 |
|
| 23 |
/***** To do Optionnal*****/ |
| 24 |
|
| 25 |
- possibility to switch on/off line numbers (allow to get more space) |
| 26 |
- amelioration of the scroll_to_view function for when there is several lines selected (center a little more the selected text) |
| 27 |
- improve opera 9 compatibility (very hard, need help for workaround) cf "Browser remarks". |
| 28 |
- optimize scroll_to_view for Opera? |
| 29 |
- add word wrap option for opera (bug with rendering mode of pre-wrap |
| 30 |
- possibility to add larger font sizes as options? |
| 31 |
|
| 32 |
/*** Bugs ***/ |
| 33 |
|
| 34 |
- firefox: when using verdana (or other non-monospace fonts) switching the font size after font load has as results to sometimes give different render in textarea and in content_highlight (espacially near 11 and 12pt) |
| 35 |
- opera: (bloc word-wrap on opera) bug with cursor_end ()[] for a wrapped line (has wrong offsetLeft if rendered as multiline) |
| 36 |
- opera: (bloc word-wrap on opera) bug if first wraped character follow a <span> (or similar) on wrapped lines |
| 37 |
- when pressing "reset highlight" in IE the textarea scroll to the top (don't know how to fix this...) |
| 38 |
- (still pending?) when pressing "shift+page down" and then "shift+page up" the top of the selection move where as it should be to the bottom of the selection to move (to fix it: must know in which direction the selection grow in "get_selection_infos") |
| 39 |
|
| 40 |
|
| 41 |
/*** Problems ***/ |
| 42 |
|
| 43 |
|
| 44 |
/*** Highlight bugs ***/ |
| 45 |
|
| 46 |
/*** Highlight problems ***/ |
| 47 |
- only one language at the same time (no html and php in the same textarea. This should be possible, but there would have no optimization and be very very slow) |
| 48 |
|
| 49 |
|
| 50 |
/*** Global remarks ***/ |
| 51 |
- editarea must be always visible, to hide it use the hide() function |
| 52 |
|
| 53 |
|
| 54 |
/*** Browser remarks/bugs ***/ |
| 55 |
|
| 56 |
OPERA: |
| 57 |
- opera bug: pressing the " key is equals to pressing the scrolldown key (with french keyboard at least) (still in opera 9.6?) |
| 58 |
- currently disabled: scrollDown/Up function (due to the " key error) (still in oera 9.6?) |
| 59 |
- opera is very very slow with syntax highlight (regexp) (still in oera 9.6?) |
| 60 |
- opera doesn't manage correctly the width 100% for the iframe |
| 61 |
- it's possible to make scroll the window in fullscreen |
| 62 |
|
| 63 |
IE: |
| 64 |
- IE is far slower than firefox in highlight mode due to opacity filter |
| 65 |
- It's seems impossible to get the selection range when wrap mode is "soft" (and it's still very diffcult when wrap mode is on) |
| 66 |
- The syntax highlight mode is broken when text length is too long (~100000, 150000 chars) don't know why... |
| 67 |
|
| 68 |
FIREFOX: |
| 69 |
- the scrollHeight value for the textarea never decresease when lines are deleted (don't remember anything about this) |
| 70 |
|
| 71 |
|
| 72 |
|