CloneSet198


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
25201.000statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
125613
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/View.java
225675
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/View.java
Next
Last
Clone Instance
1
Line Count
25
Source Line
613
Source File
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/View.java

// we might have been closed as a result of
// the above
if (isClosed())
  return;
// this is a weird hack.
// we don't want C+e a to insert 'a' in the
// search bar if the search bar has focus...
if (inputHandler.isPrefixActive()) {
  if (getFocusOwner() instanceof JTextComponent) {
    prefixFocusOwner = getFocusOwner();
    getTextArea().requestFocus();
  }
  else
    if (focusOnTextArea) {
      getTextArea().requestFocus();
    }
    else {
      prefixFocusOwner = null;
    }
}
else {
  prefixFocusOwner = null;
}


First
Previous
Clone Instance
2
Line Count
25
Source Line
675
Source File
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/View.java

// we might have been closed as a result of
// the above
if (isClosed())
  return;
// this is a weird hack.
// we don't want C+e a to insert 'a' in the
// search bar if the search bar has focus...
if (inputHandler.isPrefixActive()) {
  if (getFocusOwner() instanceof JTextComponent) {
    prefixFocusOwner = getFocusOwner();
    getTextArea().requestFocus();
  }
  else
    if (focusOnTextArea) {
      getTextArea().requestFocus();
    }
    else {
      prefixFocusOwner = null;
    }
}
else {
  prefixFocusOwner = null;
}


Clone AbstractionParameter Count: 0Parameter Bindings

// we might have been closed as a result of
// the above
if (isClosed())
  return;
// this is a weird hack.
// we don't want C+e a to insert 'a' in the
// search bar if the search bar has focus...
if (inputHandler.isPrefixActive()) {
  if (getFocusOwner() instanceof JTextComponent) {
    prefixFocusOwner = getFocusOwner();
    getTextArea().requestFocus();
  }
  else
    if (focusOnTextArea) {
      getTextArea().requestFocus();
    }
    else {
      prefixFocusOwner = null;
    }
}
else {
  prefixFocusOwner = null;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None