Re: DTD, Ctrl-D, proper indentation/highlighting

Andrew Lowe <[email protected]>
Newsgroups gmane.comp.kde.devel.quanta.user
Message-ID <[email protected]>
On Tuesday 22 May 2007 16:22:42 Sjoerd Westerterp wrote:
> While setting/changing the DTD for an open file is easy in Quanta, I
> haven't been able to find a simple menu option (or better, a keyboard
> shortcut) that just adds the current DTD string as text in a file being
> edited.

I do not believe this one exists - however your could probably script it (not 
sure if there is a dcop entry for this), and create a custom action based on 
the script

> Lastly, a little nuisance I hope to find a fix for: when creating a new
> file, only after saving it as (e.g) .php file can Quanta know what
> indentation/highlinghting to apply. But (why) do I have to close and
> reopen a file first before Quanta follows the extension's settings?
>

Tools->Highlighting->Scripts->PHP(HTML)
or any of the other appropriate options.

You can make this a shortcut on the toolbars - or create a keyboard shortcut.  
I cannot remember the exact position of the toobar entry for highlighting - 
it is called some thing different.

This was also discussed a while back - and several suggestions were made, I 
dont have time right now to search the archive, but you could have a look for 
highlighting in the mail list archive to find what you are looking for.

Also, if you use projects, and create the file from the project tool window 
(right click, new file), it automatically determines the highlighting to use.  
Also it may work from the files tool window (both on the left panel), but I 
have not tried.

I hope this helps
-- 
Andrew Lowe
    System Administrator & Programmer
        Information Technology
            Manildra Group

Email:   [email protected]
Phone:   02 4423 8270
Mobile:  04 1323 8270
Fax:     02 4421 7760

_______________________________________________
Quanta mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/quanta
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBGU2lEf1W5yYgwg7URAlTeAKCUHLgaaLpNZqYn88t4CLWNeN98LQCghedv
LrWFvAKtceEYATve0RR4NQ0=
=cNf+
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.