CloneSet92


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
20220.963class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1205058
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/textarea/JEditTextArea.java
2205107
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/textarea/JEditTextArea.java
Next
Last
Clone Instance
1
Line Count
20
Source Line
5058
Source File
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/textarea/JEditTextArea.java

//{{{ Deprecated methods
//{{{ getSelectionStart() method
/**
 * @deprecated Instead, obtain a Selection instance using
 * any means, and call its <code>getStart()</code> method
 */
public final int getSelectionStart() {
  if (selection.size() != 1)
    return caret;
  return ((Selection) selection.elementAt(0)).getStart();
} //}}}

//{{{ getSelectionStart() method
/**
 * @deprecated Instead, obtain a Selection instance using
 * any means, and call its <code>getStart(int)</code> method
 */
public int getSelectionStart(int line) {
  if (selection.size() != 1)
    return caret;
  return ((Selection) selection.elementAt(0)).getStart(buffer, line);
} //}}}


First
Previous
Clone Instance
2
Line Count
20
Source Line
5107
Source File
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/textarea/JEditTextArea.java

//{{{ getSelectionEnd() method
/**
 * @deprecated Instead, obtain a Selection instance using
 * any means, and call its <code>getEnd()</code> method
 */
public final int getSelectionEnd() {
  if (selection.size() != 1)
    return caret;
  return ((Selection) selection.elementAt(0)).getEnd();
} //}}}

//{{{ getSelectionEnd() method
/**
 * @deprecated Instead, obtain a Selection instance using
 * any means, and call its <code>getEnd(int)</code> method
 */
public int getSelectionEnd(int line) {
  if (selection.size() != 1)
    return caret;
  return ((Selection) selection.elementAt(0)).getEnd(buffer, line);
} //}}}


Clone AbstractionParameter Count: 2Parameter Bindings

//{{{ Deprecated methods
//{{{ getSelectionStart() method
/**
         * @deprecated Instead, obtain a Selection instance using
         * any means, and call its <code>getStart()</code> method
         */
//{{{ getSelectionEnd() method
/**
         * @deprecated Instead, obtain a Selection instance using
         * any means, and call its <code>getEnd()</code> method
         */
public final int  [[#variableae88aa0]]() {
  if (selection.size() != 1)
    return caret;
  return ((Selection) selection.elementAt(0)). [[#variableae888e0]]();
} //}}}

//{{{ getSelectionStart() method
/**
         * @deprecated Instead, obtain a Selection instance using
         * any means, and call its <code>getStart(int)</code> method
         */
//{{{ getSelectionEnd() method
/**
         * @deprecated Instead, obtain a Selection instance using
         * any means, and call its <code>getEnd(int)</code> method
         */
public int  [[#variableae88aa0]](int line) {
  if (selection.size() != 1)
    return caret;
  return ((Selection) selection.elementAt(0)). [[#variableae888e0]](buffer, line);
} //}}}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#ae88aa0]]
getSelectionStart 
12[[#ae88aa0]]
getSelectionEnd 
21[[#ae888e0]]
getStart 
22[[#ae888e0]]
getEnd