Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366535 - Template comments quick fixes upset Acceleo editor
Summary: Template comments quick fixes upset Acceleo editor
Status: CLOSED FIXED
Alias: None
Product: Acceleo
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-13 09:01 EST by William Piers CLA
Modified: 2016-04-11 08:32 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description William Piers CLA 2011-12-13 09:01:51 EST
When doing Alt + Shift + J, with the cursor on a template header, the comment is generated but the editor seems to be disconnected to its document:
When changing the selection, the line where the cursor is changes or disappear.
Other refactoring actions may have the same problem.

It seems to only happen under Windows.
Comment 1 Eclipse Genie CLA 2016-04-07 05:17:28 EDT
New Gerrit change created: https://git.eclipse.org/r/70091
Comment 2 Laurent Goubet CLA 2016-04-07 05:19:03 EDT
This issue was due to an erroneous handling of the line separator : we were inserting the comment "1" character before the caret, which is fine on linux (before the \n) but not on windows (between the \r and \n).

The document didn't manage properly having both \r and \r\n as separators.