| Summary: | Regex matches should check text before the caret in documentation block support | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Gabriel Luong <gabriel.luong> |
| Component: | Editor | Assignee: | Gabriel Luong <gabriel.luong> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 4.0 | ||
| Target Milestone: | 4.0 M2 | ||
| Hardware: | PC | ||
| OS: | Mac OS X | ||
| Whiteboard: | |||
|
Description
Gabriel Luong
Instead of checking the whole line for a match for a start, or intermediate comment block, we should be checking only the line text up to the caret. Otherwise, the current implementation will find it's a comment block when we press enter in a situation like /|** where | is the caret. http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=d118f6d7fd01c5cd8ddfb0c2af7185411aa4ce91 |