提交 030671bf 编写于 作者: K Kohsuke Kawaguchi

added a convenience method

上级 3ee82182
......@@ -96,6 +96,13 @@ public abstract class AbstractMarkupText {
addMarkup(startPos,endPos,"<a class='lowkey' href='"+url+"'>","</a>");
}
/**
* Hides the given text.
*/
public void hide( int startPos, int endPos ) {
addMarkup(startPos,endPos,"<span style='display:none'>","</span>");
}
/**
* Adds a start tag and end tag around the entire text
*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册