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:
parent
2c35f5f378
commit
f386d98866
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue