File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11<idea-plugin  url =" https://github.com/NeoFusion/idea-external-tools-text-replace-plugin"  >
22  <id >ru.neofusion.ExternalToolsTextReplace</id >
33  <name >External Tools Text Replace</name >
4-   <version >0.1.2 </version >
4+   <version >0.2.0 </version >
55  <vendor  email =" evgeniy@neofusion.ru"   url =" http://neofusion.ru"  >Evgeniy NeoFusion</vendor >
66
77  <description ><![CDATA[ 
1616      </p> 
1717    ]]>  </description >
1818
19-   <idea-version  since-build =" 191.4212.41 "   until-build = " 211.* "  />
19+   <idea-version  since-build =" 211.4961.30 "  />
2020
2121  <depends >com.intellij.modules.platform</depends >
2222
Original file line number Diff line number Diff line change 1414import  com .intellij .openapi .editor .Editor ;
1515import  com .intellij .openapi .fileEditor .FileDocumentManager ;
1616import  com .intellij .openapi .project .Project ;
17- import  com .intellij .tools .HackyDataContext ;
1817import  com .intellij .tools .Tool ;
18+ import  com .intellij .tools .ToolAction ;
1919import  com .intellij .tools .ToolProcessAdapter ;
2020import  com .intellij .tools .ToolsBundle ;
2121import  com .intellij .tools .ToolsProvider ;
@@ -39,7 +39,7 @@ public void actionPerformed(@NotNull AnActionEvent event) {
3939        Tool  tool  = findTool (actionId , event .getDataContext ());
4040        if  (tool  != null ) {
4141            ReplaceAdapter  processListener  = new  ReplaceAdapter (editor , project , document );
42-             execute (tool , new   HackyDataContext (event .getDataContext ()), processListener );
42+             execute (tool , ToolAction . getToolDataContext (event .getDataContext ()), processListener );
4343        }
4444    }
4545
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments