diff --git a/core/src/main/java/hudson/AbstractMarkupText.java b/core/src/main/java/hudson/AbstractMarkupText.java index 41e19e5b0c..ed7e319711 100644 --- a/core/src/main/java/hudson/AbstractMarkupText.java +++ b/core/src/main/java/hudson/AbstractMarkupText.java @@ -96,6 +96,13 @@ public abstract class AbstractMarkupText { addMarkup(startPos,endPos,"",""); } + /** + * Hides the given text. + */ + public void hide( int startPos, int endPos ) { + addMarkup(startPos,endPos,"",""); + } + /** * Adds a start tag and end tag around the entire text */