| Summary: | Duplication of line when hitting enter | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | John Arthorne <john.arthorne> |
| Component: | Editor | Assignee: | Bogdan Gheorghe <gheorghe> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | gheorghe |
| Version: | unspecified | ||
| Target Milestone: | 5.0 M2 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
Problems with the auto-indent code. Fixed in master http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=92529b9f51df7841c5ebda6b86a21350936dfe9d |
5.0 M1. Start with a JS file like this: /*global require */var glob = require('glob'); var path = require('path'); var fs = require('graceful-fs'); With the cursor at the end of the block comment, hit enter. It duplicates the part of the line after the comment so you end up with this: /*global require */var glob = require('glob'); var glob = require('glob'); var path = require('path'); var fs = require('graceful-fs'); Expected: no duplication