From 51fbd9bce1811aeb7975129d7e7da7a3a3e0fcbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20C=C3=A9bron?= Date: Wed, 5 Jun 2019 12:41:07 +0200 Subject: [PATCH] ParameterInfoUIContextEx: cleanup GitOrigin-RevId: ecad2cdee84042b8c489f7824dbb06aca96b5386 --- .../parameterInfo/ParameterInfoUIContextEx.java | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/platform/lang-api/src/com/intellij/lang/parameterInfo/ParameterInfoUIContextEx.java b/platform/lang-api/src/com/intellij/lang/parameterInfo/ParameterInfoUIContextEx.java index 2bb8d1a7facb..5e9649cafd7b 100644 --- a/platform/lang-api/src/com/intellij/lang/parameterInfo/ParameterInfoUIContextEx.java +++ b/platform/lang-api/src/com/intellij/lang/parameterInfo/ParameterInfoUIContextEx.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2009 JetBrains s.r.o. + * Copyright 2000-2019 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,25 +24,26 @@ import java.util.EnumSet; /** * Richer interface for describing a popup hint contents. - * User: dcheryasov + * + * @author dcheryasov */ public interface ParameterInfoUIContextEx extends ParameterInfoUIContext { /** * Set the contents and formatting of a one-line, multi-formatted popup hint. - * @param texts pieces ot text to be put together, each individually formattable. - * @param flags a set of Flags; flags[i] describes formatting of texts[i]. + * + * @param texts pieces ot text to be put together, each individually formattable. + * @param flags a set of Flags; flags[i] describes formatting of texts[i]. * @param background background color of the hint. */ String setupUIComponentPresentation(String[] texts, EnumSet[] flags, Color background); enum Flag { - HIGHLIGHT, DISABLE, STRIKEOUT // more to come + HIGHLIGHT, DISABLE, STRIKEOUT } /** - * Escape function for convert custom tags to html. - * @param escapeFunction + * @param escapeFunction Escape function to convert custom tags to HTML. */ void setEscapeFunction(@Nullable Function escapeFunction); }