jed-users mailing list

[2002 Date Index] [2002 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

RE: little problem with xmlmode


I have xml mode and javascript mode bound to the keyboard, 
so when I enter a javascript block I do my quick finger walz
(actually ^J^Mj - ^J is for my own extensions, ^J^M deals 
with modes, ^J^Mj is javascript) to get javascript 
mode and then foxtrot back (^J^Mx with the same analogy as 
the prevoius parenthesis) when I'm dealing with the xml stuff.

Just an idea.

/Johann Gerell


> -----Ursprungligt meddelande-----
> Från: Joachim Schmitz [mailto:js@xxxxxxxxxxxxx]
> Skickat: den 17 april 2002 10:55
> Till: Juho Snellman
> Kopia: jed
> Ämne: little problem with xmlmode 
> 
> 
> Hi Juho,
> 
> I am using your xml-mode for editing xhtml. which contains 
> some javascript.
> When the javascript contains a "<" like here:
> 
> function changeImages() {
> if (document.images && (preloadFlag == true)) {
> for (var i=0; i < changeImages.arguments.length; i+=2) {
>                   document[changeImages.arguments[i]].src = 
> changeImages.arguments[i+1];
>                   }
>                   }
>                   }
> 
> 
> the indentation gets confused, is there anyway to avoid this ?
> 
> 
> 
> Mit freundlichen Grüßen                              Joachim Schmitz
> --------------------------------------------------------------------
> AixtraWare Ingenieurbüro für Internetanwendungen
> Hüsgenstr. 33a, D-52457 Aldenhoven
> Telefon: +49-2464-8851, FAX: +49-2464-905163
> --------------------------------------------------------------------
> Key fingerprint = DA10 CC82 62F8 1DBB 39A1  1EDC 725B 3317 A8D7 C3A6
> Keyserver: http://germany.keyserver.net/en/
> 
> --------------------------
> To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
> the word "unsubscribe" in the message body.
> Need help? Email <jed-users-owner@xxxxxxxxxxx>.
> 

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2002 date index] [2002 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]