Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 537221 - Custom coordinates for StructuredTextEditor.selectAndReveal
Summary: Custom coordinates for StructuredTextEditor.selectAndReveal
Status: RESOLVED FIXED
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.sse (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.11   Edit
Assignee: Nitin Dahyabhai CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-20 04:58 EDT by Dawid Pakula CLA
Modified: 2018-11-19 17:22 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dawid Pakula CLA 2018-07-20 04:58:50 EDT
As mentioned in bug 536343 comment 17, I'm asking for ability to change selectAndReveal coordinates.

Currently SSE use same start/length for highlight and select, in PDT I need two different pairs, for example start/length for IMethod and start/length for IMethod#name.
Comment 1 Nitin Dahyabhai CLA 2018-07-25 18:10:26 EDT
Committed 7c05e54e30298599a34ebd97c7604e9896692bf7 to master.
Comment 2 Dawid Pakula CLA 2018-07-26 08:56:37 EDT
Works fine, thanks! 

Currently we are using custom SelectionHistory (overriden by StrcturedTextEditor.getAdapter), but if we switch to SSE version,  ClassCastExcetion will happen.
Comment 3 Nitin Dahyabhai CLA 2018-07-30 22:46:43 EDT
Dawid, can you open a new bug for the selection history, and action delegates, with the stack trace? I'm not sure I'll be able to contain that for the September release.
Comment 4 Dawid Pakula CLA 2018-07-31 06:06:13 EDT
Done: https://bugs.eclipse.org/bugs/show_bug.cgi?id=537531

I'll see what I can do.
Comment 5 Dawid Pakula CLA 2018-08-01 11:16:52 EDT
Is there any plan for I-build before M2?
Comment 6 Nitin Dahyabhai CLA 2018-08-01 18:56:04 EDT
Our candidate is building today.
Comment 7 Nitin Dahyabhai CLA 2018-11-19 17:22:55 EST
Resolving based on comment 2 and bug 537531. Please reopen if I'm misreading.