[prev in list] [next in list] [prev in thread] [next in thread] 

List:       quanta
Subject:    [Quanta] Text substitution (autocorrect)?
From:       "Jon Trelfa" <jtrelfa () gmail ! com>
Date:       2007-10-29 12:51:30
Message-ID: 90915d7b0710290551h63c60368n99faf8fe69faec60 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


By day, I'm "forced" to program in a Windows environment.  While we have the
flexibility to use other (free) programs, my company has only purchased
UltraEdit and only considers that as our "standard" other than Visual
Studio.  Anyway, there's a feature in UltraEdit that, when enabled, will
automatically substitute two dots '..' with the C/Perl/PHP method operator
for an object '->'.  The idea is:

$this->db->get->($sql)->result()->row(0);

While that's not too bad for typing, it can get old with OOP if you've got a
lot of method chaining.  UltraEdit speeds this up for me because I only type
this:

$this..db..get..($sql)..result()..row(0);

It seems kind of silly - but you'd be surprised how much of a time saver it
can be.  Go ahead - type both of those strings and see which one is easier
:)

In Kate/Quanta, it appears as if there's something *similar* where I can
have one word templates that are substituted, but it won't allow for me to
use the '..' to .->' autocorrect that I'm looking for.

Is there a way to add this feature in?  I think it would be something really
helpful; especially for PHP programmers that use OOP.

Thanks,

Jon

[Attachment #5 (text/html)]

By day, I&#39;m &quot;forced&quot; to program in a Windows environment.&nbsp; While \
we have the flexibility to use other (free) programs, my company has only purchased \
UltraEdit and only considers that as our &quot;standard&quot; other than Visual \
Studio.&nbsp; Anyway, there&#39;s a feature in UltraEdit that, when enabled, will \
automatically substitute two dots &#39;..&#39; with the C/Perl/PHP method operator \
for an object &#39;-&gt;&#39;.&nbsp; The idea is: \
<br><br>$this-&gt;db-&gt;get-&gt;($sql)-&gt;result()-&gt;row(0);<br><br>While \
that&#39;s not too bad for typing, it can get old with OOP if you&#39;ve got a lot of \
method chaining.&nbsp; UltraEdit speeds this up for me because I only type this: \
<br><br>$this..db..get..($sql)..result()..row(0);<br><br>It seems kind of silly - but \
you&#39;d be surprised how much of a time saver it can be.&nbsp; Go ahead - type both \
of those strings and see which one is easier :)<br><br> In Kate/Quanta, it appears as \
if there&#39;s something *similar* where I can have one word templates that are \
substituted, but it won&#39;t allow for me to use the &#39;..&#39; to .-&gt;&#39; \
autocorrect that I&#39;m looking for. <br><br>Is there a way to add this feature \
in?&nbsp; I think it would be something really helpful; especially for PHP \
programmers that use OOP.<br><br>Thanks,<br><br>Jon<br><br>



_______________________________________________
Quanta mailing list
Quanta@mail.kde.org
https://mail.kde.org/mailman/listinfo/quanta


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic