界面库
处理gtk的缓存和caret
This commit is contained in:
@@ -32,7 +32,11 @@ type TEditerForm = class(TVCform) //
|
||||
GLobal G_OpenHostory;
|
||||
//////////////////目录/////////////////////
|
||||
{$ifdef linux}
|
||||
basepath := ".vcl/tsl/";
|
||||
home := sysgetenv("HOME");
|
||||
if home then basepath := home+"/.vcl/";
|
||||
else
|
||||
basepath := ".vcl/";
|
||||
|
||||
{$else}
|
||||
basepath := TS_GetUserProfileHome();
|
||||
{$endif}
|
||||
|
||||
@@ -328,7 +328,10 @@ type TProjectView = class(TVCForm) //
|
||||
FTslEditer.ReadOnlyDirs := array(GetVCLdir());
|
||||
fio := ioFileseparator();
|
||||
{$ifdef linux}
|
||||
bpath := ".vcl/tsl/";
|
||||
home := sysgetenv("HOME");
|
||||
if home then bpath := home+"/.vcl/";
|
||||
else
|
||||
bpath := ".vcl/";
|
||||
{$else}
|
||||
bpath := TS_GetUserProfileHome();
|
||||
{$endif}
|
||||
|
||||
Reference in New Issue
Block a user