devexpress-richedit
Version:
DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.
16 lines (15 loc) • 481 B
JavaScript
import { LayoutBoxType } from './layout-box';
import { LayoutFieldCodeStartBox } from './layout-field-code-start-box';
export class LayoutFieldCodeEndBox extends LayoutFieldCodeStartBox {
clone() {
const newObj = new LayoutFieldCodeEndBox(this.characterProperties, this.colorInfo);
newObj.copyFrom(this);
return newObj;
}
getType() {
return LayoutBoxType.FieldCodeEnd;
}
getBoxChar() {
return "}";
}
}