src/vs/workbench/contrib/comments/browser/commentThreadWidget.ts/ReviewZoneWidget/getPendingComment
class ReviewZoneWidget:	public getPendingComment(): string | null {
		if (this._commentReplyComponent) {
			let model = this._commentReplyComponent.editor.getModel();

			if (model && model.getValueLength() > 0) { // checking length is cheap
				return model.getValue();
			}
		}

		return null;
	}