!7 cmodule GBigInput > DynBigInputAndSections { start { dm_useLocalMechListCopies(); maximizeSingleSection = false; } void makeSections_impl { // 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, "") }))); // Search for mech list names LS l = scoredSearch_localMechListNames(); if (nempty(l)) addComponent(stack, jSection("Mech List Names", jPreferHeight(100, jlist(l)))); } }