mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-29 20:45:20 +00:00
added a convenience method
This commit is contained in:
1 parent
3ee8218204
commit
030671bf39
1 file changed
+7
@@ -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
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user