Community
Participate
Working Groups
1. Create a new Javascript file; open it. 2. Type 'fo' then press Ctrl+Space to open content assist. 3. Choose the "for - iterate over array" template proposal. (This will insert the skeleton of a for-loop and enter linked mode.) 4. Press the arrow key to move the editing caret inside the for-loop. 5. Start typing. I expected linked mode to be cancelled, but it's not, so I end up overwriting "i" with the body of the for loop.
I fixed the problem I could see here (on pressing down arrow the link mode isn't cancelled). git repo: git://github.com/aclement/orion.client.git branch: bug368845 commit id: b480e19e21ac2960f1f32086f0bdcd4d409b49ab full link: https://github.com/aclement/orion.client/commit/b480e19e21ac2960f1f32086f0bdcd4d409b49ab I wrote all this code and have the rights to contribute it to Eclipse under the eclipse.org web site terms of use.
Sorry to do this, but this additional commit (applied on top of the previous one) also fixes the UP arrow case when trying to escape out of linked mode: git repo: git://github.com/aclement/orion.client.git branch: bug368845 commit id: 4c1bbb9104a1df512a1c5afd5dcd7b2f31817572 full link: https://github.com/aclement/orion.client/commit/4c1bbb9104a1df512a1c5afd5dcd7b2f31817572 I wrote all this code and have the rights to contribute it to Eclipse under the eclipse.org web site terms of use.
This is currently throwing exceptions for me (in 0.5). On down arrow: Uncaught TypeError: Object #<Object> has no method 'lineDown' editor.js:559 On up arrow: Uncaught TypeError: Object #<Object> has no method 'lineUp' editor.js:551
This bug has always bothered me. I just pushed a fix. I didn't know that Andy already had a partial fix for this. Mine is similar and does not appear to throw any exceptions. Here is a link to the fix: http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=2cb6b446af88e196ee8a6277aa57c5ab9f46238d