Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 323577

Summary: Encoding for breakpoints is not considered
Product: [Modeling] M2T Reporter: Benjamin Schwertfeger <benjamin.schwertfeger>
Component: XpandAssignee: Project Inbox <m2t.xpand-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 1.0.0   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Benjamin Schwertfeger CLA 2010-08-25 05:30:41 EDT
If you open an extension with encoding UTF-8, the position of elements for breakpoints is calculated the wrong way.

1. Set the encoding of the extension file to utf-8
2. write a comment at the beginning '/* */' and a method afterward:

/* */
String test():
  test();

3. save
4. right-click after the t{est()} of the last line.
5. See, that you can toggle breakpoint
6. add utf-8 characters like '�הצ' to the comment 
7. save
8. try right-click after the t{est()} of the last line. The position, where you can toggle breakpoint is now behind the method.
Comment 1 Karsten Thoms CLA 2020-04-30 13:54:32 EDT
This is a batch close of open M2T Xpand bugs. It is not planned work on this component in the foreseeable future. If you think this issue needs to be solved and you plan to contribute a fix then feel free to reopen it.