From 313c5bc247548319dc1f93c9ece04ea4326d37e8 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Mon, 4 Jan 2010 12:59:51 +0000 Subject: =?UTF-8?q?=E2=80=A2=20remember=20scrollview=20port=20and=20select?= =?UTF-8?q?ed=20row=20after=20editing=20in=20the=20Custom=20Query=20table?= =?UTF-8?q?=20view=20-=20after=20reloading=20the=20entire=20data=20the=20t?= =?UTF-8?q?able=20view=20port=20will=20be=20restored=20but=20this=20leads?= =?UTF-8?q?=20up=20to=20now=20to=20a=20"tiny=20jitter"=20(maybe=20fixable?= =?UTF-8?q?=20in=20the=20near=20future)=20-=20the=20re-selection=20does=20?= =?UTF-8?q?NOT=20follow=20the=20actual=20edited=20row,=20e.g.=20if=20one?= =?UTF-8?q?=20changes=20a=20cell=20value=20whose=20column=20is=20used=20fo?= =?UTF-8?q?r=20sorting=20the=20actual=20edited=20row=20could=20appear=20so?= =?UTF-8?q?mewhere=20=E2=80=A2=20if=20the=20editing=20in=20the=20Custom=20?= =?UTF-8?q?Query=20table=20view=20was=20invoked=20by=20pressing=20RETURN/E?= =?UTF-8?q?NTER=20one=20can=20go=20through=20the=20columns=20by=20pressing?= =?UTF-8?q?=20ESC=20but=20up=20to=20now=20that=20editing=20will=20be=20int?= =?UTF-8?q?errupted=20after=20the=20user=20pressed=20OK=20-=20this=20behav?= =?UTF-8?q?iour=20is=20temporary=20and=20should=20be=20fixed=20in=20the=20?= =?UTF-8?q?near=20future=20by=20storing=20the=20new=20row=20data=20tempora?= =?UTF-8?q?rily;=20after=20editing=20the=20last=20column=20AND=20if=20all?= =?UTF-8?q?=20columns=20have=20the=20same=20table=20origin=20the=20row=20d?= =?UTF-8?q?ata=20will=20be=20updated.=20To=20allow=20the=20row=20editing?= =?UTF-8?q?=20for=20columns=20which=20have=20different=20table=20origins?= =?UTF-8?q?=20could=20probably=20cause=20inconsistencies.=20-=20further=20?= =?UTF-8?q?discussion=20is=20needed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/CustomQuery.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Source/CustomQuery.h') diff --git a/Source/CustomQuery.h b/Source/CustomQuery.h index ba0e456d..121b4853 100644 --- a/Source/CustomQuery.h +++ b/Source/CustomQuery.h @@ -72,6 +72,7 @@ IBOutlet CMTextView *textView; IBOutlet CMCopyTable *customQueryView; + IBOutlet NSScrollView *customQueryScrollView; IBOutlet id errorText; IBOutlet id affectedRowsText; IBOutlet id valueSheet; @@ -126,6 +127,8 @@ NSInteger fullResultCount; NSArray *cqColumnDefinition; NSString *lastExecutedQuery; + NSInteger editedRow; + NSRect editedScrollViewRect; BOOL isWorking; BOOL tableReloadAfterEditing; -- cgit v1.2.3