< prev index next >
src/java.desktop/share/classes/javax/swing/text/DefaultEditorKit.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 2177,2189 ****
@SuppressWarnings("serial") // Superclass is not serializable across versions
static class SelectWordAction extends TextAction {
/**
* Create this action with the appropriate identifier.
- * @param nm the name of the action, Action.NAME.
- * @param select whether to extend the selection when
- * changing the caret position.
*/
SelectWordAction() {
super(selectWordAction);
start = new BeginWordAction("pigdog", false);
end = new EndWordAction("pigdog", true);
--- 2177,2186 ----
*** 2207,2219 ****
@SuppressWarnings("serial") // Superclass is not serializable across versions
static class SelectLineAction extends TextAction {
/**
* Create this action with the appropriate identifier.
- * @param nm the name of the action, Action.NAME.
- * @param select whether to extend the selection when
- * changing the caret position.
*/
SelectLineAction() {
super(selectLineAction);
start = new BeginLineAction("pigdog", false);
end = new EndLineAction("pigdog", true);
--- 2204,2213 ----
*** 2237,2249 ****
@SuppressWarnings("serial") // Superclass is not serializable across versions
static class SelectParagraphAction extends TextAction {
/**
* Create this action with the appropriate identifier.
- * @param nm the name of the action, Action.NAME.
- * @param select whether to extend the selection when
- * changing the caret position.
*/
SelectParagraphAction() {
super(selectParagraphAction);
start = new BeginParagraphAction("pigdog", false);
end = new EndParagraphAction("pigdog", true);
--- 2231,2240 ----
*** 2267,2279 ****
@SuppressWarnings("serial") // Superclass is not serializable across versions
static class SelectAllAction extends TextAction {
/**
* Create this action with the appropriate identifier.
- * @param nm the name of the action, Action.NAME.
- * @param select whether to extend the selection when
- * changing the caret position.
*/
SelectAllAction() {
super(selectAllAction);
}
--- 2258,2267 ----
< prev index next >