1 19 20 package org.netbeans.editor.ext; 21 22 import java.awt.Color ; 23 import java.awt.Dimension ; 24 import java.awt.event.InputEvent ; 25 import java.awt.event.KeyEvent ; 26 import java.util.Arrays ; 27 import java.util.List ; 28 import java.util.ArrayList ; 29 import java.util.Map ; 30 import java.util.HashMap ; 31 import javax.swing.KeyStroke ; 32 import javax.swing.text.JTextComponent ; 33 import org.netbeans.editor.Coloring; 34 import org.netbeans.editor.Settings; 35 import org.netbeans.editor.SettingsUtil; 36 import org.netbeans.editor.SettingsNames; 37 import org.netbeans.editor.SettingsDefaults; 38 import org.netbeans.editor.BaseKit; 39 import org.netbeans.editor.MultiKeyBinding; 40 41 47 48 public class ExtSettingsDefaults extends SettingsDefaults { 49 50 public static final Color defaultHighlightCaretRowBackColor = new Color (255, 255, 220); 52 public static final Coloring defaultHighlightCaretRowColoring 53 = new Coloring(null, null, defaultHighlightCaretRowBackColor); 54 public static final Color defaultHighlightMatchBraceForeColor = Color.white; 56 public static final Color defaultHighlightMatchBraceBackColor = new Color (255, 50, 210); 57 public static final Coloring defaultHighlightMatchBraceColoring 58 = new Coloring(null, defaultHighlightMatchBraceForeColor, defaultHighlightMatchBraceBackColor); 59 60 public static final Boolean defaultHighlightCaretRow = Boolean.TRUE; 61 public static final Boolean defaultHighlightMatchBrace = Boolean.TRUE; 62 public static final Integer defaultHighlightMatchBraceDelay = new Integer (100); 63 public static final Boolean defaultCaretSimpleMatchBrace = Boolean.TRUE; 64 65 public static final Boolean defaultCompletionAutoPopup = Boolean.TRUE; 66 public static final Boolean defaultCompletionCaseSensitive = Boolean.FALSE; 67 public static final Boolean defaultCompletionNaturalSort = Boolean.FALSE; 68 public static final Integer defaultCompletionAutoPopupDelay = new Integer (250); 69 public static final Integer defaultCompletionRefreshDelay = new Integer (200); 70 public static final Dimension defaultCompletionPaneMaxSize = new Dimension (400, 300); 71 public static final Dimension defaultCompletionPaneMinSize = new Dimension (60, 17); 72 public static final Boolean defaultFastImportPackage = Boolean.FALSE; 73 public static final Integer defaultFastImportSelection = new Integer (0); 74 public static final Boolean defaultShowDeprecatedMembers = Boolean.TRUE; 75 public static final Boolean defaultCompletionInstantSubstitution = Boolean.TRUE; 76 77 public static final Color defaultJavaDocBGColor = new Color (247, 247, 255); 78 public static final Integer defaultJavaDocAutoPopupDelay = new Integer (200); 79 public static final Dimension defaultJavaDocPreferredSize = new Dimension (500, 300); 80 public static final Boolean defaultJavaDocAutoPopup = Boolean.TRUE; 81 private static int MENU_MASK = java.awt.Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(); 82 83 84 140 } 141 | Popular Tags |