!7 cmodule GBigInput > DynBigInputAndSections { start { dm_useLocalMechListCopies(); maximizeSingleSection = false; } void makeSections_impl { S text = trim(this.text); // Contains double arrow? Offer to add as Gazelle rule if (containsDoubleArrow_raw(text)) addComponent(stack, jSection("Add as raw rule", jbutton("Add as raw rule", rThread { dm_gazelle_addRuleWithComment(text, "") }))); if (isSingleLine(text)) { // Search for mech list names LS l = scoredSearch_localMechListNames(text); if (nempty(l)) addComponent(stack, jSection("Mech List Names", jPreferHeight(100, jlist(l)))); } } }