1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 00:45:28 +02:00

make setSelection() public

This commit is contained in:
Alain Magloire 2003-04-02 05:02:14 +00:00
parent 2c35f5f378
commit f386d98866

View file

@ -583,7 +583,7 @@ public class CEditor extends TextEditor implements ISelectionChangedListener {
* @param element the source range to be shown in the editor, can be null.
* @param moveCursor if true the editor is scrolled to show the range.
*/
private void setSelection(ISourceRange element, boolean moveCursor) {
public void setSelection(ISourceRange element, boolean moveCursor) {
if (element != null) {
try {
IRegion alternateRegion = null;