• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

ギコナビ


Commit MetaInfo

修訂5066ed427345003de51b0f7d77a4ba03ade499d9 (tree)
時間2007-07-25 04:12:36
作者cvs2git <cvs2git>
Commitercvs2git

Log Message

This commit was manufactured by cvs2svn to create tag 'v1_56_0_715'.

Change Summary

差異

--- a/InputAssist.pas
+++ b/InputAssist.pas
@@ -64,8 +64,7 @@ type
6464 FSortColumn : Integer;
6565 FInsertText : String;
6666 procedure AddListViewItem(ResWord : TResistWord);
67- procedure SetCategory(combo: TComboBox; selected: String);
68- function ValidateKey(key, category: String): boolean;
67+ procedure SetCategory(combo: TComboBox);
6968 public
7069 { Public éŒ¾ }
7170 procedure SetUpFromEditor();
@@ -144,35 +143,22 @@ procedure TInputAssistForm.AddButtonClick(Sender: TObject);
144143 var
145144 resWord : TResistWord;
146145 begin
147- if (ValidateKey(KeyNameEdit.Text, CategoryNameComboBox.Text)) then begin
146+ if (Length(KeyNameEdit.Text) = 0) then begin
147+ ShowMessage('ƒL[–¼‚ðÝ’肵‚Ä‚­‚¾‚³‚¢B');
148+ end else begin
148149 if (not InputAssistDM.IsDupulicate(
149150 KeyNameEdit.Text, CategoryNameComboBox.Text) ) then begin
150151 resWord := InputAssistDM.Add(KeyNameEdit.Text);
151152 resWord.SetCategory(CategoryNameComboBox.Text);
152153 resWord.SetText(TextMemo.Text);
153154 AddListViewItem(resWord);
154- SetCategory(CategoryNameComboBox, resWord.GetCategory);
155+ SetCategory(CategoryNameComboBox);
155156 GikoListView1.AlphaSort;
156157 end else begin
157158 ShowMessage('“¯ˆê‚̃L[–¼EƒJƒeƒSƒŠ–¼‚ÅŠù‚É“o˜^Ï‚Ý‚Å‚·B');
158159 end;
159160 end;
160161 end;
161-//! ƒL[–¼EƒJƒeƒSƒŠ—LŒøƒ`ƒFƒbƒN
162-function TInputAssistForm.ValidateKey(key, category: String): boolean;
163-begin
164- Result := True;
165- if (Length(key) = 0) then begin
166- ShowMessage('ƒL[–¼‚ðÝ’肵‚Ä‚­‚¾‚³‚¢B');
167- Result := False;
168- end else begin
169- if (Length(category) = 0) then begin
170- ShowMessage('ƒJƒeƒSƒŠ‚ðÝ’肵‚Ä‚­‚¾‚³‚¢B');
171- Result := False;
172- end;
173- end;
174-end;
175-
176162 //! íœƒ{ƒ^ƒ“‰Ÿ‰ºŽž‚̃Cƒxƒ“ƒg
177163 procedure TInputAssistForm.DeleteButtonClick(Sender: TObject);
178164 begin
@@ -188,7 +174,9 @@ var
188174 resWord : TResistWord;
189175 begin
190176 if GikoListView1.Selected <> nil then begin
191- if (ValidateKey(KeyNameEdit.Text, CategoryNameComboBox.Text)) then begin
177+ if (Length(KeyNameEdit.Text) = 0) then begin
178+ ShowMessage('ƒL[–¼‚𖳂µ‚É‚Í‚Å‚«‚Ü‚¹‚ñB');
179+ end else begin
192180 if (not InputAssistDM.IsDupulicate(
193181 KeyNameEdit.Text, CategoryNameComboBox.Text) ) then begin
194182 resWord := TResistWord(GikoListView1.Selected.Data);
@@ -198,7 +186,7 @@ begin
198186 // ˆê——‚̍XV
199187 GikoListView1.Selected.Caption := resWord.GetKey;
200188 GikoListView1.Selected.SubItems[0] := resWord.GetCategory;
201- SetCategory(CategoryNameComboBox, resWord.GetCategory);
189+ SetCategory(CategoryNameComboBox);
202190 GikoListView1.AlphaSort;
203191 end else begin
204192 ShowMessage('“¯ˆê‚̃L[–¼EƒJƒeƒSƒŠ–¼‚ÅŠù‚É“o˜^Ï‚Ý‚Å‚·B');
@@ -309,10 +297,9 @@ begin
309297 LockWindowUpdate(0);
310298 end;
311299 //! ƒJƒeƒSƒŠƒRƒ“ƒ{ƒ{ƒbƒNƒXÝ’è
312-procedure TInputAssistForm.SetCategory(combo: TComboBox; selected: String);
300+procedure TInputAssistForm.SetCategory(combo: TComboBox);
313301 var
314302 cat : TStringList;
315- i : Integer;
316303 begin
317304 // ŒŸõ—p
318305 cat := TStringList.Create;
@@ -324,11 +311,6 @@ begin
324311 combo.Items.AddStrings(cat);
325312 combo.ItemIndex := 0;
326313 combo.Items.EndUpdate;
327- // ‘I‘ðÏ‚݂̃JƒeƒSƒŠ‚ɃCƒ“ƒfƒbƒNƒX‚ð•ÏX
328- i := combo.Items.IndexOf(selected);
329- if (i <> -1) then begin
330- combo.ItemIndex := i;
331- end;
332314 finally
333315 cat.Free;
334316 end;
@@ -344,9 +326,11 @@ begin
344326 FInsertText := '';
345327 CloseAction.ShortCut := TShortCut(0);
346328 // ’ljÁ—pƒL[“ü—ÍOK
347- SetCategory(CategoryNameComboBox, '');
329+ SetCategory(CategoryNameComboBox);
348330 end;
349331 procedure TInputAssistForm.SetUpFromEditor();
332+var
333+ cat : TStringList;
350334 begin
351335 Self.Caption := '“ü—̓AƒVƒXƒg';
352336 Panel3.Visible := False;
@@ -356,7 +340,7 @@ begin
356340 FInsertText := '';
357341 CloseAction.ShortCut := ShortCut(VK_ESCAPE, []);
358342 // ŒŸõ—p
359- SetCategory(CategoryComboBox, '');
343+ SetCategory(CategoryComboBox);
360344 end;
361345 function TInputAssistForm.GetInsertText(): String;
362346 begin
Binary files a/gikoNavi.res and b/gikoNavi.res differ
--- a/readme/readme.txt
+++ b/readme/readme.txt
@@ -108,17 +108,9 @@ LICENSE
108108 ------------------------------
109109 —š—ð
110110 ------------------------------
111-2007/08/05
111+2007/XX/YY
112112 Version ÊÞÀ56
113-@ƒŒƒXƒ|ƒbƒvƒAƒbƒv‚Ì‘½’i‘Ήž
114-@•\Ž¦‚µ‚Ä‚¢‚éƒXƒŒƒbƒh’†‚̃Šƒ“ƒN‚ÌURL‚̎擾ƒAƒNƒVƒ‡ƒ“‚ð’ljÁ
115-@—š—ðƒŠƒXƒg‚É‚µ‚ÄEnter‚ŃXƒŒƒbƒh‚ð•\Ž¦‚·‚é‚ƃGƒ‰[‚ª•\Ž¦‚³‚ê‚é•s‹ï‡‚̏C³
116-@TabŽ©“®•Û‘¶E•œŒ³‚ð—LŒø‚É‚µ‚Ä‚¢‚é‚Æ‚«‚ɁA‹N“®Žž‚Ì•œŒ³‚Å•\Ž¦‚µ‚Ä‚¢‚½ƒ^ƒu‚ðŠJ‚­‚悤‚ɏC³
117-@“ü—̓AƒVƒXƒg‚̃JƒeƒSƒŠ‚̍€–Ú‚ðComboBox‰»
118-@Ú×Ý’è‚Å100ƒŒƒX•\Ž¦‚̐擪•\Ž¦ƒŒƒX”‚ª–ˆ‰ñ1‚Æ•\Ž¦‚³‚ê‚é•s‹ï‡‚̏C³
119-@ƒXƒNƒŠƒvƒgŒë”½‰ž‘΍ô‹@”\‚̃fƒtƒHƒ‹ƒgƒtƒ@ƒCƒ‹(replace.default)‚̍XV
120- (ƒAƒbƒvƒf[ƒg‚̏ꍇAŽè“®‚ōXV‚·‚é•K—v‚ª‚ ‚è‚Ü‚·)
121-@ƒCƒ“ƒXƒg[ƒ‰‚ðInno Setup(http://www.jrsoftware.org/)‚ōì‚è’¼‚µ‚½
113+ ƒŒƒXƒ|ƒbƒvƒAƒbƒv‚Ì‘½’i‘Ήž
122114
123115 2007/04/01
124116 Version ÊÞÀ55
--- a/res/default/replace.default
+++ b/res/default/replace.default
@@ -4,5 +4,4 @@ body onload=window\(\)
44 GetSpecialFolder\(
55 CodeModule\.Lines
66 ms-its:mhtml:
7-!exec*:*:
8-$mircexe mircexe
\ No newline at end of file
7+!exec*:*:
\ No newline at end of file