2007-09-20 18:09:08 -04:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								USING: definitions kernel parser words sequences math.parser
							 | 
						
					
						
							
								
									
										
										
										
											2007-12-09 11:48:47 -05:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								namespaces editors io.launcher windows.shell32 io.files
							 | 
						
					
						
							
								
									
										
										
										
											2008-12-15 22:45:18 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								io.directories.search.windows strings unicode.case make ;
							 | 
						
					
						
							
								
									
										
										
										
											2007-09-20 18:09:08 -04:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								IN: editors.editpadpro
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2008-12-08 21:11:24 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								: editpadpro-path ( -- path )
							 | 
						
					
						
							
								
									
										
										
										
											2007-12-09 11:48:47 -05:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    \ editpadpro-path get-global [
							 | 
						
					
						
							
								
									
										
										
										
											2008-12-08 21:11:24 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        "JGsoft" t [ >lower "editpadpro.exe" tail? ] find-in-program-files
							 | 
						
					
						
							
								
									
										
										
										
											2009-01-16 15:13:17 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        [ "editpadpro.exe" ] unless*
							 | 
						
					
						
							
								
									
										
										
										
											2007-12-09 11:48:47 -05:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    ] unless* ;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2007-09-20 18:09:08 -04:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								: editpadpro ( file line -- )
							 | 
						
					
						
							
								
									
										
										
										
											2008-01-24 02:50:40 -05:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    [
							 | 
						
					
						
							
								
									
										
										
										
											2008-12-08 21:11:24 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        editpadpro-path , number>string "/l" prepend , ,
							 | 
						
					
						
							
								
									
										
										
										
											2008-01-24 02:50:40 -05:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    ] { } make run-detached drop ;
							 | 
						
					
						
							
								
									
										
										
										
											2007-09-20 18:09:08 -04:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								[ editpadpro ] edit-hook set-global
							 |