| Summary: | Occurrence marker problem | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Zoltan Ujhelyi <zoltan.ujhelyi> |
| Component: | IMP | Assignee: | Robert M. Fuhrer <rfuhrer> |
| Status: | CLOSED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | Macintosh | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
|
Description
Zoltan Ujhelyi
You're right, getOccurrences() should certainly be called for every selection change, and there's code to do precisely that. Presumably something got messed up in the enablement logic of the selection listener. Just a quick sanity check: you did click on the "Toggle Mark Occurrences" button to enable the mode, didn't you? I ask because I just did a quick test on the toy LEG language, and mark occurrences behaves as expected there. That was the error. As this function is always enabled in my host Eclipse since about 2 years, I completely forgotten about that toolbar button. Thank you for your help. No problem... glad it wasn't actually a bug. :-) Though your getOccurrences() method probably also shouldn't be called at all if the mode is disabled. I'll have to look into that. |