~ubuntu-branches/ubuntu/lucid/konversation/lucid-updates

« back to all changes in this revision

Viewing changes to src/application.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Modestas Vainius
  • Date: 2009-05-19 09:44:08 UTC
  • mfrom: (1.16.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 47.
  • Revision ID: james.westby@ubuntu.com-20090519094408-yi3yv1v4zzbsu2nx
Tags: 1.1.75+svn969816-1
* New upstream development snapshot:
  - Last Changed Author: tjmchenry
  - Last Changed Rev: 969816
  - Last Changed Date: 2009-05-19 04:45:54 +0300
  - Translations as of Tue, 19 May 2009 09:21:13 are included.
* Update download URL in debian/copyright.
* Update Debian menu icons.
* Update konversation.install: install translations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
908
908
                            replacement.replace(QString("%%1").arg(capture),captures[capture]);
909
909
                        }
910
910
                        replacement.remove(QRegExp("%[0-9]"));
 
911
                        // allow for var expansion in autoreplace
 
912
                        replacement = Konversation::doVarExpansion(replacement); 
911
913
                        // replace input with replacement
912
914
                        line.replace(index, captures[0].length(), replacement);
913
915
                        index += replacement.length();
936
938
                    {
937
939
                        if (line.length() == length || after.isSpace() || after.isPunct())
938
940
                        {
 
941
                            // allow for var expansion in autoreplace
 
942
                            replacement = Konversation::doVarExpansion(replacement);
939
943
                            line.replace(index,patLen,replacement);
940
944
                            nextLength = index+repLen;
941
945
                        }