提交 d6202a6b 编写于 作者: J Johannes Rieken

use readonly flag

上级 604e21bb
......@@ -32,15 +32,15 @@ export interface ISuggestEvent {
export class Context {
lineNumber: number;
column: number;
isInEditableRange: boolean;
readonly lineNumber: number;
readonly column: number;
readonly isInEditableRange: boolean;
lineContentBefore: string;
lineContentAfter: string;
readonly lineContentBefore: string;
readonly lineContentAfter: string;
wordBefore: string;
wordAfter: string;
readonly wordBefore: string;
readonly wordAfter: string;
constructor(model: IModel, position: IPosition, private auto: boolean) {
const lineContent = model.getLineContent(position.lineNumber);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册