@Override
		protected void addContent(JPanel content) {
			JPanel panel = new JPanel(new BorderLayout());
			Box controls = Box.createHorizontalBox();
			Icon icon = new GIcon("icon.plugin.assembler.question");
			EmptyBorderToggleButton button = new EmptyBorderToggleButton(icon);
			button.setToolTipText("Exhaust unspecified bits, otherwise zero them");
			button.addActionListener((e) -> {
				exhaustUndefined = CMD_EXHAUST.equals(e.getActionCommand());
				if (exhaustUndefined) {
					button.setActionCommand(CMD_ZERO);
				}
				else {
					button.setActionCommand(CMD_EXHAUST);
				}
				auto.updateDisplayContents();
			});
			button.setActionCommand(CMD_EXHAUST);
			controls.add(button);
			panel.add(controls, BorderLayout.SOUTH);
			hints = new JLabel();
			panel.add(hints);
			content.add(panel, BorderLayout.SOUTH);

			addAutocompletionListener(this);
		}
A customized autocompleter for assembly

<p>
This positions the list at the bottom left of the field(s), and considers the full text of
the linked text boxes when retrieving the prefix. It also delegates the item styling to the
item instances.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/assembler/AssemblyDualTextField.java