Community
Participate
Working Groups
First, this is a strategic issue for us. There are several critical features of our application that cannot be implemented with these enhancements. We need public methods for scrolling the StyledText by a specified number of pixels. Currently there are public methods that allow us to scroll to the nearest line and character but this isn't precise enough for our application. There already is a method for pixel-based horizontal scrolling, scrollHorizontal () but it's not public. The support for pixel-based vertical scolling is already in the class but the class needs a public scrollVertical(int numVerPixels) signature. Note that I set the Version to 1.0. We'll take whatever version this is available with this addition. As I noted earlier this is a strategic issue for us. Michael Duchesneau Sr. Software Engineer Rational Software aren't public.
Suggestion is to add API for setHorizontalPixel, setTopPixel that scroll *to* the specified pixel position, not by the number of pixels as suggested. We already have getHorizontalPixel and getTopPixel. We also have the line based/character based setTopIndex and setHorizontalIndex so the above names and behavior would be consistent with existing API. Miked - we assume this will be sufficient for you - right?
Yes, scrolling *to* a specified pixel is sufficient. Actually, it's what I need! I wasn't thinking clearly when I requested methods for scrolling by a specified number of pixels. Thanks, Michael Duchesneau Rational Software
Fixed as proposed by Lynne Kues above. Will be in build > 20020121.