From debbdd3c1cfe9ff74c02a282ade69dd0dcbbc2a1 Mon Sep 17 00:00:00 2001 From: davidus01 Date: Mon, 26 Jul 2010 21:36:47 +0000 Subject: editor: new dividenote function - can divide note in place where is cursor in text editor: NextSentence, PreviousSentence - using mouse git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@2607 b956fd51-792f-4845-bead-9b4dfca2ff2c --- us_maker_edition/src/base/UNote.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'us_maker_edition/src/base') diff --git a/us_maker_edition/src/base/UNote.pas b/us_maker_edition/src/base/UNote.pas index d800d30e..ff9c6b57 100644 --- a/us_maker_edition/src/base/UNote.pas +++ b/us_maker_edition/src/base/UNote.pas @@ -374,7 +374,7 @@ begin begin with Lines[0].Line[I] do begin - if (HighNote > 0) then + if (HighNote >= 0) then begin SentenceEnd := Note[HighNote].Start + Note[HighNote].Length; -- cgit v1.2.3