Restricting access to the methods.
1.1 --- a/visualweb.designer/src/org/netbeans/modules/visualweb/text/DesignerCaret.java Tue Mar 13 23:17:17 2007 +0000
1.2 +++ b/visualweb.designer/src/org/netbeans/modules/visualweb/text/DesignerCaret.java Tue Mar 13 23:35:53 2007 +0000
1.3 @@ -224,7 +224,7 @@
1.4 * @param e
1.5 * the mouse event
1.6 */
1.7 - protected void positionCaret(MouseEvent e) { // XXX When is this used?
1.8 + private /*protected*/ void positionCaret(MouseEvent e) { // XXX When is this used?
1.9
1.10 Point pt = new Point(e.getX(), e.getY());
1.11 // Position pos = component.getUI().viewToModel(component, pt);
1.12 @@ -249,7 +249,7 @@
1.13 * @param e
1.14 * the mouse event
1.15 */
1.16 - protected void moveCaret(MouseEvent e) {
1.17 + private /*protected*/ void moveCaret(MouseEvent e) {
1.18 Point pt = new Point(e.getX(), e.getY());
1.19 // Position pos = component.getUI().viewToModel(component, pt);
1.20 WebForm webform = component.getDocument().getWebForm();
1.21 @@ -408,7 +408,7 @@
1.22 }
1.23 }
1.24
1.25 - void adjustCaretAndFocus(MouseEvent e) {
1.26 + private void adjustCaretAndFocus(MouseEvent e) {
1.27 adjustCaret(e);
1.28 adjustFocus(false);
1.29 }