Package functionality

Examples of functionality.SentenceOnText


   * @return original sentence
   */
  private static String getOriginalSentence(){
    JEditTextArea text = jEdit.getActiveView().getTextArea();
    int caret = text.getCaretPosition();
    SentenceOnText sent = new SentenceOnText(text,caret);
    sent.getSentenceForWord(sModel);
    start = sent.getStart();
    end = sent.getEnd();
    return text.getText(start, end - start);
  }
View Full Code Here

TOP

Related Classes of functionality.SentenceOnText

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.