From d0759f5db146dd0472eaabacf2626bf40936b4e9 Mon Sep 17 00:00:00 2001 From: pyscripter Date: Wed, 26 Jul 2023 06:23:13 +0300 Subject: [PATCH] Fix https://github.com/TurboPack/SynEdit/issues/245 --- Source/Highlighters/SynHighlighterPHP.pas | 6 +++--- Source/Highlighters/SynHighlighterPerl.pas | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Source/Highlighters/SynHighlighterPHP.pas b/Source/Highlighters/SynHighlighterPHP.pas index 40e11116..161fd54f 100644 --- a/Source/Highlighters/SynHighlighterPHP.pas +++ b/Source/Highlighters/SynHighlighterPHP.pas @@ -1,4 +1,4 @@ -{------------------------------------------------------------------------------- +{------------------------------------------------------------------------------- The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at @@ -13,7 +13,7 @@ mwEdit component suite by Martin Waldenburg and other developers, the Initial Author of this file is Willo van der Merwe. "Heredoc" syntax highlighting implementation by Marko Njezic. -Unicode translation by Maël Hörz. +Unicode translation by Maël Hörz. All Rights Reserved. Contributors to the SynEdit and mwEdit projects are listed in the @@ -1229,7 +1229,7 @@ function TSynPHPSyn.IsWordBreakChar(AChar: WideChar): Boolean; begin case AChar of #0..#32, '.', ',', ';', ':', '"', '''', '+', '`', '-', '^', '!', '?', '&', - '@', '§', '%', '#', '~', '[', ']', '(', ')', '{', '}', '<', '>', + '@', '§', '%', '#', '~', '[', ']', '(', ')', '{', '}', '<', '>', '=', '*', '/', '\', '|': Result := True; else diff --git a/Source/Highlighters/SynHighlighterPerl.pas b/Source/Highlighters/SynHighlighterPerl.pas index 95f52c56..fc89c0e7 100644 --- a/Source/Highlighters/SynHighlighterPerl.pas +++ b/Source/Highlighters/SynHighlighterPerl.pas @@ -1,4 +1,4 @@ -{------------------------------------------------------------------------------- +{------------------------------------------------------------------------------- The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at @@ -12,7 +12,7 @@ The Original Code is based on the DcjSynPerl.pas file from the mwEdit component suite by Martin Waldenburg and other developers, the Initial Author of this file is Michael Trier. -Unicode translation by Maël Hörz. +Unicode translation by Maël Hörz. All Rights Reserved. Contributors to the SynEdit and mwEdit projects are listed in the @@ -1299,7 +1299,7 @@ function TSynPerlSyn.IsWordBreakChar(AChar: WideChar): Boolean; begin case AChar of #0..#32, '.', ',', ';', ':', '"', '''', '+', '`', '-', '^', '!', '?', '&', - '§', '#', '~', '[', ']', '(', ')', '{', '}', '<', '>', + '§', '#', '~', '[', ']', '(', ')', '{', '}', '<', '>', '=', '*', '/', '\', '|': Result := True; else