[Kbabel] highlighting - first draft

Marco Wegner dubbleu@web.de
Fri, 29 Nov 2002 06:36:13 +0100


--Boundary-00=_Nzv59IIFYvbTIdh
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Description: clearsigned data
Content-Disposition: inline

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 25 November 2002 17:02, Stanislav Visnovsky wrote:
> Hi!
>
> I've tested your code and it works really nicely. The only problem is that
> if there is an error, it does not change the color to the error color.
> But that could be just a problem with my current tree (it is heavily
> modifed already, but the patch applied almost cleanly).

Attached you will find the fixed version of the highlighting implementation.
Now the display of faulty messages works correct, too. This is *not* just a
patch for the previous version but rather a complete patch against current
HEAD. (Again apply the patch in kdesdk/kbabel/kbabel and copy the sourcefiles
to this directory as well.)

Stanislav: The fix you applied two days ago to mymultilineedit.cpp is now not
necessary anymore since the same functionality is now in KBabelHighlighter
:-)

Kind regards,
Marco

- --
Marco Wegner <mail@marcowegner.de>, <dubbleu@web.de>
Contributing to KBabel http://i18n.kde.org/tools/kbabel
   and kde-i18n-de http://i18n.kde.org/teams/de


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE95vzWX3rotM03gSgRAiC0AJ90HTVfL/iEqNKtWUAHLI/lEXwMtwCgn65y
AiD2/kloSbgU2qkZ7lUsRxQ=
=7d9p
-----END PGP SIGNATURE-----

--Boundary-00=_Nzv59IIFYvbTIdh
Content-Type: application/x-tgz;
  name="kbhighlighting.tar.gz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="kbhighlighting.tar.gz"

H4sIAPP75j0AA+1Y+3PaSBL2z/wVXaQuK54GO7FrAZMlFLa58xtcuRzmXIM0gNZCw44EmN3N/77f
jIQQD8dXW7lsXR2T2NZMP6f761FrnnpDezB08OPb7iBvjsd733wUioXC0bt3ewWM46PgbzGcq6Xi
4cFe4fj9cfH98eHxe6wX3+HfHhW+vSubY+L5TBLtWZNez+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yQS2GXNxmtNTa/UfAtEnTKbTbIUnBRgcAHdxFZ
Cq4dQFCdCX3RnR9t+rLtkirk1c3Qn2qyyqvy2zqngCXaKnmO8L3SUi5++7DklfYU9R9j+9MfIeH3
74rGeCR0SxoZjr7GL5D6xRdvQL295KOawk8liEE17C5jsnrXyy4R/SEi/AZdMkoNzfgGOv/q995u
7MZu7MZu7MZu7MZu7MZu7Mb/2/gD1XOSHAAoAAA=

--Boundary-00=_Nzv59IIFYvbTIdh
Content-Type: application/x-gzip;
  name="kbhighlighting.diff.gz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="kbhighlighting.diff.gz"

H4sICML55j0AA2tiaGlnaGxpZ2h0aW5nLmRpZmYAxVh7b9pIEP8bf4pRezo54WUTCOAcp6SEu6JC
HiXp6aRKaLEXbGFsd73koarf/WZ3bYMxoddGuqONWe/Ozs7jNzM7DAOHPlmwel6tfe75XkCp4/Ga
q/Ve/9E+9icw93xqQd0NV7S+dORf7CzryxmZUT/9KhxfedAY5cyjD16wAIZfsRcGYNaapuZ48zlU
11A9gWokBzOoMrG0R41qtVqcLTUMo1E3jbpxCkbXMhqW2SlJ3uVy+UVys97ogtGyGidWw9TOz1EA
o3IKZXy24fxcg7deYPtrh8JvXyLOHqjNQ1Zzf9dAA9sncQwDZNcPVysSOGdaWc19eCcs8N5buD7+
ccrONvTj57GQZISSiK1gQbSe+Z4Nt3f0iYspDb5KSRrNlhCl0TytdFAWiJj3QDi1NMCPfNTrMA8Z
XPi8bDZOYE4JXzMql7yAw9ReM0YDfh94dujQq/VqJkQpi+3iURATjsHNCf1NCv6WBugfcdr47/H9
6G44Gl4NBpfDu+l7bbgfa3YU/b9oQwFexFun9SLeOq29quxDHM5vQNQGs201O/i/JPnvw1xuQ4a6
pvR180S4Gp+dHdQtVzSOyYLOwicJu62VmDvEtqmv4FjOVt4sZ5kXUfOa+0Yra7u4s6ydCf32L89Z
UH4MERGgqdhhEHOwXcKOISAreiRxlftYGWb1ZJMkrABde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