jEdit Community - Resources for users of the jEdit Text Editor
building my translation model
Submitted by pat4kin on Thursday, 17 March, 2011 - 14:54
Hallo!
I have now finished the first phase of the process of building a model to translate my texts from English into German. The first eBook using it, for phrase translations will be uploaded in the next days.
As I began the process of using jEdit to create the model, I was looking for an editor that would allow me to create a workspace concept.
I would now like to extend the model with a set of exe one-liners to perform certain tasks. For this I would like to use the language AWK or one of its derivatives.
I am using it on my MS-Win-XP-Home system under cygwin. It is useful but the architecture is sub-optimal. Is any work being done on an AWK plugin. I would provide with the work I am doing using scripts written by others.
I would like to hear from decision makers or knowledgable members.
Regards,pat4kin.
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
Gawk for Windows
by Robert Schwenn on Thu, 17/03/2011 - 20:42
I'm using a win32 version of gawk (see http://gnuwin32.sourceforge.net/packages/gawk.htm ). It's a native Windows program - no need for Cygwin.

Also, in the \macros\Misc\Run_Script.bsh macro I've replaced the line: execScript("awk", "awk -f " + path);

with: execScript("awk", "echo.|G:\\Bin\\GNU\\gawk -f " + path);

If You'd do this, You have to change "G:\\Bin\\GNU\\gawk" to match Your path of gawk.exe. Then You could start Run_Script.bsh for running gawk.exe processing the current buffer as the awk script. So You get syntax error messages (there's no awk plugin).

Robert
User login
Browse archives
« November 2024  
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   101634
Context Free Art (*.cfdg)   0.31   46062
BBEdit scheme   1.0   18601
JBuilder scheme   .001   18502
ColdFusion scheme   1.0   18031
R Edit Mode - extensive version   0.1   17481
Advanced HTML edit mode   1.0   16213
Matlab Edit Mode   1.0   16075
jEdit XP icons   1.0   15236
XP icons for jEdit   1.1   14300