mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fix paragraph separators for context help labels
This commit is contained in:
@@ -53,13 +53,13 @@ import java.util.Map;
|
||||
public class EmmetUpdateTagAction extends BaseCodeInsightAction implements DumbAware, PopupAction {
|
||||
private static final String EMMET_RECENT_UPDATE_ABBREVIATIONS_KEY = "emmet.recent.update.abbreviations";
|
||||
private static final String EMMET_LAST_UPDATE_ABBREVIATIONS_KEY = "emmet.last.update.abbreviations";
|
||||
private static final String DOCUMENTATION = "Update HTML tag with Emmet abbreviation:\n" +
|
||||
".class[attribute] to overwrite value;\n" +
|
||||
".+class[attribute] to append value;\n" +
|
||||
".-class[attribute] to remove value.\n" +
|
||||
"\n" +
|
||||
"For example, <code>.+c2[title=Hello]</code> abbreviation updates\n" +
|
||||
"<code><div class=\"c1\"></code> to \n" +
|
||||
private static final String DOCUMENTATION = "Update HTML tag with Emmet abbreviation:<br/>" +
|
||||
".class[attribute] to overwrite value;<br/>" +
|
||||
".+class[attribute] to append value;<br/>" +
|
||||
".-class[attribute] to remove value.<br/>" +
|
||||
"<p/>" +
|
||||
"For example, <code>.+c2[title=Hello]</code> abbreviation updates<br/>" +
|
||||
"<code><div class=\"c1\"></code> to<br/>" +
|
||||
"<code><div class=\"c1 c2\" title=\"Hello\"></code>.";
|
||||
private static final EmmetContextHelp CONTEXT_HELP = new EmmetContextHelp(DOCUMENTATION);
|
||||
|
||||
|
||||
@@ -66,9 +66,9 @@ public class ZenCodingTemplate extends CustomLiveTemplateBase {
|
||||
private static final String DOCUMENTATION = "Wraps text with HTML generated by Emmet abbreviation. " +
|
||||
"It takes an abbreviation, expands it and places currently " +
|
||||
"selected content in the last element of generated snippet." +
|
||||
"\n\n" +
|
||||
"<p/>" +
|
||||
"By default, when you wrap something, Emmet puts original " +
|
||||
"content inside the latest element.\n\n" +
|
||||
"content inside the latest element.<p/>" +
|
||||
"You can control the output position with <code>$#</code> placeholder.";
|
||||
private static final EmmetContextHelp CONTEXT_HELP =
|
||||
new EmmetContextHelp(DOCUMENTATION, "More at docs.emmet.io", "https://docs.emmet.io/actions/wrap-with-abbreviation/");
|
||||
|
||||
Reference in New Issue
Block a user