mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-01 05:15:43 +02:00
Cosmetics.
This commit is contained in:
parent
5faa4da90e
commit
393c776410
2 changed files with 6 additions and 6 deletions
|
@ -65,7 +65,7 @@ public final class ASTProvider {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Wait flag indicating that a client requesting an AST
|
* Wait flag indicating that a client requesting an AST
|
||||||
* wants to wait until an AST is ready. If the translation unit is not open no ast will
|
* wants to wait until an AST is ready. If the translation unit is not open no AST will
|
||||||
* be provided.
|
* be provided.
|
||||||
* <p>
|
* <p>
|
||||||
* If not yet cached and if the translation unit is open, an AST will be created by
|
* If not yet cached and if the translation unit is open, an AST will be created by
|
||||||
|
@ -77,7 +77,7 @@ public final class ASTProvider {
|
||||||
/**
|
/**
|
||||||
* Wait flag indicating that a client requesting an AST
|
* Wait flag indicating that a client requesting an AST
|
||||||
* only wants to wait for the shared AST of the active editor.
|
* only wants to wait for the shared AST of the active editor.
|
||||||
* If the translation unit is not open no ast will be provided.
|
* If the translation unit is not open no AST will be provided.
|
||||||
* <p>
|
* <p>
|
||||||
* No AST will be created by the AST provider.
|
* No AST will be created by the AST provider.
|
||||||
* </p>
|
* </p>
|
||||||
|
@ -201,7 +201,7 @@ public final class ASTProvider {
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean isActiveEditor(IWorkbenchPart part) {
|
private boolean isActiveEditor(IWorkbenchPart part) {
|
||||||
return part != null && (part == fActiveEditor);
|
return part != null && part == fActiveEditor;
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean isCEditor(IWorkbenchPartReference ref) {
|
private boolean isCEditor(IWorkbenchPartReference ref) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue