void setLineJustify(int startLine, int count, boolean justify) { if (lines == null) lines = new LineInfo[lineCount]; for (int i = startLine; i < startLine + count; i++) { if (lines[i] == null) { lines[i] = new LineInfo(); } lines[i].flags |= JUSTIFY; lines[i].justify = justify; } } void setLineSegments(int startLine, int count, int[] segments) {
void setLineIndent(int startLine, int count, int indent) { if (lines == null) lines = new LineInfo[lineCount]; for (int i = startLine; i < startLine + count; i++) { if (lines[i] == null) { lines[i] = new LineInfo(); } lines[i].flags |= INDENT; lines[i].indent = indent; } } void setLineWrapIndent(int startLine, int count, int wrapIndent) {
void setLineTabStops(int startLine, int count, int[] tabStops) { if (lines == null) lines = new LineInfo[lineCount]; for (int i = startLine; i < startLine + count; i++) { if (lines[i] == null) { lines[i] = new LineInfo(); } lines[i].flags |= TABSTOPS; lines[i].tabStops = tabStops; } } void setStyleRanges (int[] newRanges, StyleRange[] newStyles) {
void setLineJustify(int startLine, int count, boolean justify) { if (lines == null) lines = new LineInfo[lineCount]; for (int i = startLine; i < startLine + count; i++) { if (lines[i] == null) { lines[i] = new LineInfo(); } lines[i].flags |= JUSTIFY; lines[i].justify = justify; } } void setLineSegments(int startLine, int count, int[] segments) {
void setLineWrapIndent(int startLine, int count, int wrapIndent) { if (lines == null) lines = new LineInfo[lineCount]; for (int i = startLine; i < startLine + count; i++) { if (lines[i] == null) { lines[i] = new LineInfo(); } lines[i].flags |= WRAP_INDENT; lines[i].wrapIndent = wrapIndent; } } void setLineJustify(int startLine, int count, boolean justify) {
void setLineIndent(int startLine, int count, int indent) { if (lines == null) lines = new LineInfo[lineCount]; for (int i = startLine; i < startLine + count; i++) { if (lines[i] == null) { lines[i] = new LineInfo(); } lines[i].flags |= INDENT; lines[i].indent = indent; } } void setLineWrapIndent(int startLine, int count, int wrapIndent) {
void setLineSegments(int startLine, int count, int[] segments) { if (lines == null) lines = new LineInfo[lineCount]; for (int i = startLine; i < startLine + count; i++) { if (lines[i] == null) { lines[i] = new LineInfo(); } lines[i].flags |= SEGMENTS; lines[i].segments = segments; } } void setLineSegmentChars(int startLine, int count, char[] segmentChars) {
void setLineWrapIndent(int startLine, int count, int wrapIndent) { if (lines == null) lines = new LineInfo[lineCount]; for (int i = startLine; i < startLine + count; i++) { if (lines[i] == null) { lines[i] = new LineInfo(); } lines[i].flags |= WRAP_INDENT; lines[i].wrapIndent = wrapIndent; } } void setLineJustify(int startLine, int count, boolean justify) {
void setLineIndent(int startLine, int count, int indent) { if (lines == null) lines = new LineInfo[lineCount]; for (int i = startLine; i < startLine + count; i++) { if (lines[i] == null) { lines[i] = new LineInfo(); } lines[i].flags |= INDENT; lines[i].indent = indent; } } void setLineWrapIndent(int startLine, int count, int wrapIndent) {
void setLineTabStops(int startLine, int count, int[] tabStops) { if (lines == null) lines = new LineInfo[lineCount]; for (int i = startLine; i < startLine + count; i++) { if (lines[i] == null) { lines[i] = new LineInfo(); } lines[i].flags |= TABSTOPS; lines[i].tabStops = tabStops; } } void setStyleRanges (int[] newRanges, StyleRange[] newStyles) {
void setLineAlignment(int startLine, int count, int alignment) { if (lines == null) lines = new LineInfo[lineCount]; for (int i = startLine; i < startLine + count; i++) { if (lines[i] == null) { lines[i] = new LineInfo(); } lines[i].flags |= ALIGNMENT; lines[i].alignment = alignment; } } void setLineBackground(int startLine, int count, Color background) {
void setLineSegments(int startLine, int count, int[] segments) { if (lines == null) lines = new LineInfo[lineCount]; for (int i = startLine; i < startLine + count; i++) { if (lines[i] == null) { lines[i] = new LineInfo(); } lines[i].flags |= SEGMENTS; lines[i].segments = segments; } } void setLineSegmentChars(int startLine, int count, char[] segmentChars) {
void setLineWrapIndent(int startLine, int count, int wrapIndent) { if (lines == null) lines = new LineInfo[lineCount]; for (int i = startLine; i < startLine + count; i++) { if (lines[i] == null) { lines[i] = new LineInfo(); } lines[i].flags |= WRAP_INDENT; lines[i].wrapIndent = wrapIndent; } } void setLineJustify(int startLine, int count, boolean justify) {
void setLineBackground(int startLine, int count, Color background) { if (lines == null) lines = new LineInfo[lineCount]; for (int i = startLine; i < startLine + count; i++) { if (lines[i] == null) { lines[i] = new LineInfo(); } lines[i].flags |= BACKGROUND; lines[i].background = background; } } void setLineBullet(int startLine, int count, Bullet bullet) {
void setLineAlignment(int startLine, int count, int alignment) { if (lines == null) lines = new LineInfo[lineCount]; for (int i = startLine; i < startLine + count; i++) { if (lines[i] == null) { lines[i] = new LineInfo(); } lines[i].flags |= ALIGNMENT; lines[i].alignment = alignment; } } void setLineBackground(int startLine, int count, Color background) {
void setLineSegmentChars(int startLine, int count, char[] segmentChars) { if (lines == null) lines = new LineInfo[lineCount]; for (int i = startLine; i < startLine + count; i++) { if (lines[i] == null) { lines[i] = new LineInfo(); } lines[i].flags |= SEGMENT_CHARS; lines[i].segmentsChars = segmentChars; } } void setLineTabStops(int startLine, int count, int[] tabStops) {
void setLineTabStops(int startLine, int count, int[] tabStops) { if (lines == null) lines = new LineInfo[lineCount]; for (int i = startLine; i < startLine + count; i++) { if (lines[i] == null) { lines[i] = new LineInfo(); } lines[i].flags |= TABSTOPS; lines[i].tabStops = tabStops; } } void setStyleRanges (int[] newRanges, StyleRange[] newStyles) {
void setLineSegmentChars(int startLine, int count, char[] segmentChars) { if (lines == null) lines = new LineInfo[lineCount]; for (int i = startLine; i < startLine + count; i++) { if (lines[i] == null) { lines[i] = new LineInfo(); } lines[i].flags |= SEGMENT_CHARS; lines[i].segmentsChars = segmentChars; } } void setLineTabStops(int startLine, int count, int[] tabStops) {
void setLineBackground(int startLine, int count, Color background) { if (lines == null) lines = new LineInfo[lineCount]; for (int i = startLine; i < startLine + count; i++) { if (lines[i] == null) { lines[i] = new LineInfo(); } lines[i].flags |= BACKGROUND; lines[i].background = background; } } void setLineBullet(int startLine, int count, Bullet bullet) {
void setLineJustify(int startLine, int count, boolean justify) { if (lines == null) lines = new LineInfo[lineCount]; for (int i = startLine; i < startLine + count; i++) { if (lines[i] == null) { lines[i] = new LineInfo(); } lines[i].flags |= JUSTIFY; lines[i].justify = justify; } } void setLineSegments(int startLine, int count, int[] segments) {