Last update March 7, 2012

Editor Support /
Ultra Edit



Difference (last change) (no other diffs, normal page display)

Changed: 113,224c113
]
jam tangan
jam tangan murah
jam tangan kw
hostgator coupon
kata mutiara
Jasa SEO
EZido
RDAnet
pioneer deh-1300mp
asus a53e-xa2
asus tf101-b1
asus tf101-a1
asus n53sv-eh72
asus republic of gamers g74sx
asus acer a5250
acer chromebook ac700
asus asus 53u
lg infinia 55lw5600
Sonicview 360 premier
asus 7 cu ft freezer
asus 30 single wall oven
brother cs6000i sewing machine
brother 1034d serger
brother sewing machines
Yokohama Geolandar H/T-S
crib tent tots in mind
kidco peapod plus
foscam fi8910w
samsung pl120 review
gopro helmet cam
Canon SX130IS
powershot s100
ContourHD 1080p
canon vixia hf r21
digital picture frame
canon ef 50mm f1.4
canon ef 70-300mm review
wide angle lenses
moving comfort sports bra
moving comfort bra
womens argyle sweater
bebe dresses
ViewSonic VX2250WM
Le Pan TC 970
Apple MacBook Air MC965LL
Sennheiser CX 880
plantronics cs540
ultrasonic jewelry cleaner
Sennheiser RS120
bose quietcomfort 15 acoustic noise cancelling headphones
logitech harmony one remote
logitech harmony 900
sony mhc-ec69i
sony mhcec909ip
bose wave music system
sony htss380
logitech squeezebox touch
sony dvp-fx970
onkyo tx-nr509
onkyo tx - nr609
onkyo ht-s3400
energy 5.1 take classic home theater system
polk audio psw505
onkyo ht-s5400
onkyo tx-nr709
belkin pf60
onkyo ht-rc360
denon avr-1912
Yamaha YHT-S400BL
fujitsu scansnap s1500
brother hl-2270dw
epson workforce 545
hp laserjet p2055dn
bushnell 8mp trophy cam
toshiba 32c110u
panasonic viera tc-p60s30
VIZIO E220VA
hauppauge wintv dcr-2650
Acer AM3970-U5022
Acer AspireRevo AR3700-U3002
Dell Inspiron i570
Dell GX620
Gateway FX6860-UR20P
Western Digital My Passport Essential SE 1 TB USB 3.0
Fujitsu ScanSnap S1300
Epson Perfection V300
Fujitsu SCANSNAP S1100
NeatDesk Desktop Scanner and Digital Filing System
Epson WorkForce Pro GT-S50
Kodak P811BK
Epson Perfection V330
Viewsonic VX2453MH
Asus VE228H
ViewSonic VA2431WM
Samsung B2230
HP 2711x
ASUS ML228H
Epson PowerLite Home Cinema 8350
Optoma PK301
Epson EX7210
Epson EX5210
ViewSonic PJD5133
Acer X1161P
FAVI RioHD-LED-2
Epson EX3210
ViewSonic PJD6531w
Trinity 360 Breville 800JEXL
Skil 3320-02
Delta 46-460
Grizzly G0555
Delta 18-900L
]

To configure UltraEdit for D

  1. Under the menu option Advanced item Configuration tab Syntax Highlighting
    1. Select Open (to open WORDFILE.TXT)
    2. Paste the code from the "UltraEdit Word File" (at the bottom of this page) at the bottom of this file. Alternatively, you can download the D wordfile from the UE website.
    3. If you have previously edited this file:
      1. Look for the first line that was pasted, beginning with /L10"D"
      2. Edit the number 10 in /L10 to insure that it is greater than the previous /L tag.
  2. Under the menu option Advanced item Configuration tab File Types
    1. Enter a file mask in File Names equal to: *.D
    2. Enter a file description in File Descriptions equal to: 'D' Files, (*.D)
    3. Click Insert

If you want to compile and run your D applications from UltraEdit:

  1. Under Advanced -> Tool configuration:
a)
      • "Command Line": Compile.bat
      • "Working directory": %P
      • "Menu Item Name": Compile
      • Check "Save active file"
      • Select "Output to List Box"
      • Check "Capture output"
      • Press "Insert"
b)
      • "Command Line": Run.bat
      • "Working directory": %P
      • "Menu Item Name": Run
      • Uncheck "Save active file"
      • Check "Show DOS Box"
      • Uncheck "Capture output"
      • Press "Insert"
c) If you have a German keyboard, you should also do:
      • "Command Line": -
      • "Menu Item Name": Dummy
      • Press "Insert"
      • ... and move it to the very top. That way your custom tools start with CTRL+SHIFT+1 and not CTRL+SHIFT+0 (German keyboard layout: 1,2,3,4,5,6,7,8,9,0)
d) You should move "Compile" to the top and position "Run" below it.

e) Now put something like
dmd <file.d>
... in a file called "Compile.bat" that resides in your source code folder.

f) Then put something like
<file.exe>
 pause
... in a file called "Run.bat" that resides in your source code folder.

Then you'll have a very flexible setup that protects you from using the command line too often.

To compile your project (really to invoke Compile.bat in the current directory) press CTRL+SHIFT+0 (1 on German keyboards).

To run your project press CTRL+SHIFT+1 (2 on German keyboards).

It doesn't matter which file is open/active when you run one of the tools - as long as it is in the same directory as Compile.bat and Run.bat. That way you can also edit them (try different compilation options etc.) and immediately see the changes.

UltraEdit Word File

/L12"D" Line Comment = // Block Comment On = /* Block Comment Off = */ Block Comment On Alt = /+ Block Comment Off Alt = +/ Escape Char = \ String Chars = "'` File Extensions = D DI
/Delimiters = ~!@%^&*()-+=|\/{}[]:;"'`<> ,	.?
/Function String = "%^([a-zA-Z_0-9^[^]*]+^)[ ^t]+([^p*&:, ^t^[^]a-zA-Z_0-9.!]++)[~;]"
/Function String 1 = "%[a-zA-Z_0-9*]*::^([a-zA-Z_0-9^~]+^)[ ^t^p]++([^p*&:, ^t^[^]/*^-'=:&a-zA-Z_0-9./(!]++)[~;]"
/Function String 2 = "%[a-zA-Z_0-9^][a-zA-Z_0-9^[^]]+[ ^t*]+^([a-zA-Z_0-9]+^)[ ^t]++([^p*&:, ^t^[^]a-zA-Z_0-9./(!]++)[~;]"
/Function String 3 = "%[a-zA-Z_0-9*&$^[^]*]+[ ^t]+[a-zA-Z_0-9*&$^[^]]+[ ^t*]+^([a-zA-Z_0-9]+^)[ ^t]++([^p*&:, ^t^[^]a-zA-Z_0-9./(!]++)[~;]"
/Function String 4 = "%[a-z_0-9^[^]*]++ [a-z_0-9*^[^]]+[ ^t]++[a-z_0-9*^[^]]+[ ^t]++^([*a-z_0-9]+^)[ ^t]++([^p*&:, ^t^[^]a-z_0-9./(!]++)[~;]"
/Function String 5 = "%^([a-zA-Z_0-9^[^]*]+^)[ ^t]++([^p*&:, ^t^[^]a-zA-Z_0-9./()!]++)[~;]"
/Member String = "^([A-Za-z0-9_:.]+^)[ ^t^*&]+$S[ ^t^[^]A-Za-z0-9_]++[(-);,]"
/Variable String = "%[ ^t]++^([!-ÿ~ ^t<>]+*[~a-z^p]^)$S[ ^t;,()^-]"
/Indent Strings = "{" "if" "else" ":"
/Unindent Strings = "}"
/Open Brace Strings =  "{" "(" "["
/Close Brace Strings = "}" ")" "]"
/Open Fold Strings = "{"
/Close Fold Strings = "}"
/C1"Keywords" STYLE_KEYWORD
abstract alias align asm assert auto
body bool break byte
case cast catch cdouble cent cfloat char class const continue creal
dchar debug default delegate delete deprecated do double
else enum export extern
false final finally float for foreach foreach_reverse function
goto
idouble if ifloat import in inout int interface invariant ireal is
long
macro mixin module
new null
out override
package pragma private protected public
real ref return
scope short static struct super switch synchronized
template this throw true try typedef typeof
ubyte ucent uint ulong union unittest ushort
version void volatile
wchar while with
/C2"Operators"
!
%
*
+
-
// /
<
=
>
^
|
~

FrontPage | News | TestPage | MessageBoard | Search | Contributors | Folders | Index | Help | Preferences | Edit

Edit text of this page (date of last change: March 7, 2012 20:34 (diff))