From 5a6bbf49a42f78c994b94f60e6f3c85a44bc8ac0 Mon Sep 17 00:00:00 2001 From: mattias Date: Sat, 9 Feb 2008 19:14:53 +0000 Subject: [PATCH] synedit: added < and > as default word break characters git-svn-id: trunk@14053 - --- components/synedit/synedittypes.pp | 2 +- examples/anchordocking/dockform1unit.pas | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/components/synedit/synedittypes.pp b/components/synedit/synedittypes.pp index 236b8dac8c..c1faf5b140 100644 --- a/components/synedit/synedittypes.pp +++ b/components/synedit/synedittypes.pp @@ -46,7 +46,7 @@ const TSynValidStringChars = ['_', '0'..'9', 'A'..'Z', 'a'..'z'] + TSynSpecialChars; TSynWhiteChars = [' ', #9]; TSynWordBreakChars = ['.', ',', ';', ':', '"', '''', '!', '?', '[', ']', '(', - ')', '{', '}', '^', '-', '=', '+', '*', '/', '\', '|']; + ')', '{', '}', '^', '-', '=', '+', '*', '/', '\', '|','<','>']; type TSynIdentChars = set of char; diff --git a/examples/anchordocking/dockform1unit.pas b/examples/anchordocking/dockform1unit.pas index 2d9f2565a0..4054720e96 100644 --- a/examples/anchordocking/dockform1unit.pas +++ b/examples/anchordocking/dockform1unit.pas @@ -118,6 +118,7 @@ begin ClearLayout; Form1:=CreateNewForm; + with Form1 do SetBounds(Left,Top,400,200); Form2:=CreateNewForm; DockingManager.Manager.InsertControl(Form2,alClient,Form1); end;