Append a Vim comment.

@param it the receiver of the generated elements.
@param text the text of the comment.
@return {@code it}.
161622
protected IStyleAppendable appendComment(IStyleAppendable it, String text) {
		return appendComment(it, true, text);
	}
913920
def add_text(self, text):
        
        for char in text:
            self.add_char(char)
        self.flush()
506285
public void write(String text, int offset, int length) {
        buffer.append(text, offset, offset + length);
    }
248109
private static String buildText(String text) {
    // <JAR><JAR> to PARAGRAPH mark in unicode
    text = doubleLineBreak.matcher(text).replaceAll(PARAGRAPH);
    // <JAR> to " "
    text = lineBreak.matcher(text).replaceAll(" ");
    return text;
  }
319079
public static void append(Path self, Object text) throws IOException {
        Writer writer = null;
        try {
            writer = new OutputStreamWriter(Files.newOutputStream(self, CREATE, APPEND), Charset.defaultCharset());
            InvokerHelper.write(writer, text);
            writer.flush();

            Writer temp = writer;
            writer = null;
            temp.close();
        } finally {
            closeWithWarning(writer);
        }
    }
192954
public static SourceSnippet forText(final String text) {
    return new SourceSnippet() {
      public String getSource(InjectorWriteContext writeContext) {
        return text;
      }
    };
  }
872243
public int add(String text)
    {
        int id = tfMap.size();
        add(id, text);
        return id;
    }
1064245
public Element text(String text) {
        Validate.notNull(text);

        empty();
        TextNode textNode = new TextNode(text);
        appendChild(textNode);

        return this;
    }
1233434
public static String addDoubleQuotesIfNo(String text) {
		if (text == null)
			return "\"null\"";
		
		String trim = text.trim();
		if (trim.startsWith("\"") && trim.endsWith("\""))
			return text;
		return addDoubleQuotes(text);
	}
886232
def add_text(self, text):
        
        t = self._r.add_t(text)
        return _Text(t)
172308
public boolean append(String text) {
        return set(get() == null ? text : get().concat(text));
    }
727418
public static StringBuffer appendTextInsideTag(StringBuffer buffer, String text, String tag)
	{
		return appendTextInsideTag(buffer, text, tag, EMPTY_MAP);
	}
64442
public void prependType(final String text) {
        autoHover();

        if (text == null) return;
        runWithRetries(() -> {
                elementImpl.locateElement().sendKeys(Keys.chord(Keys.COMMAND, Keys.ARROW_UP) + text);
                moveCursorToEndOfInput();
        });
    }
704399
public synchronized void addTextNode(String text) throws IOException {
		// check for non-empty string
		if(text == null || text.trim().length() == 0) {
			return;
		}
		// reject modification of already closed node
		if(isOpen==false) {
			throw new IOException("Attempted to add child text node to already closed tag '" + name + "'!");
		}
		if(lastChildNode==null) {
			// no child nodes yet, close opening tag
			writer.write(">");
		} else {
			// close previous sibling and move to new line
			// FIXME: is this a legal situation, and if: how do we format this issue nicely?
			lastChildNode.close();
			writer.write("\n");
			indentLine();
		}
		SXTextNode textNode = new SXTextNode(text, writer, tabLevel, tabString);
		lastChildNode = textNode;
	}
601364
def append_text(self, text):
        

        if (self.conversions and
                isinstance(self.conversions[-1],
                           conversions.StringConversion)):
            self.conversions[-1].append(text)
        else:
            self.conversions.append(conversions.StringConversion(text))
478270
function (text) {
            var self = this;
            if (!self.inPre) {
                // collapse whitespace
                text = collapseWhitespace(text);
            }
            self.append(text);
        }
838981
public JBBPDslBuilder NewLineComment(final String text) {
    this.addItem(new ItemComment(text == null ? "" : text, true));
    return this;
  }