Package org.rstudio.studio.client.workbench.views.source.editors.text.ScopeList

Examples of org.rstudio.studio.client.workbench.views.source.editors.text.ScopeList.ContainsFoldPredicate


         {
            // If no selection, fold the innermost non-anonymous scope
  
            ScopeList scopeList = new ScopeList(docDisplay_);
            scopeList.removeAll(ScopeList.ANON_BRACE);
            Scope scope = scopeList.findLast(new ContainsFoldPredicate(
                  Range.fromPoints(docDisplay_.getSelectionStart(),
                                   docDisplay_.getSelectionEnd())));
  
            if (scope == null)
               return;
View Full Code Here

TOP

Related Classes of org.rstudio.studio.client.workbench.views.source.editors.text.ScopeList.ContainsFoldPredicate

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.