From: Eric L. <eri...@gm...> - 2015-08-27 14:08:48
|
Hit Macros -> "Record Macro" Name your macro something. Hit control-F search for \\ (double backslash) replace with / (single forward slash) Hit Macros -> Stop Recording. Look over the new macro, hit Ctrl-S to save. It's in your Macro's menu now as whatever you called it. Viola. On Wed, Aug 26, 2015 at 11:33 PM Kevin Wilson <wk...@gm...> wrote: > Hi all, > I want to write a macro for JEdit for translating Widows path of a > file to a Linux path of a file. > > What I mean is, for example, > Changing this Windows path: > \work\src\net-next\drivers\acpi\power.c > > into the following Linux path: > /work/src/net-next/drivers/acpi/power.c > > - which mean a macro that replaces all occurrences of "\" in the path into > "/". > > Any ideas ? > > Regards, > Kevin > > > ------------------------------------------------------------------------------ > -- > ----------------------------------------------- > jEdit Users' List > jEd...@li... > https://lists.sourceforge.net/lists/listinfo/jedit-users > |