Skip to content

Commit

Permalink
21.10.20
Browse files Browse the repository at this point in the history
  • Loading branch information
tablacus committed Oct 20, 2021
1 parent 808f22b commit 73a2aed
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 14 deletions.
6 changes: 3 additions & 3 deletions docs/index.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<TablacusExplorer><Item Id="showfocusedframe"><General><Version>1.02</Version><MinVersion>2021.9.5</MinVersion><pubDate>Wed, 13 Oct 2021 00:00:00 GMT</pubDate><Creator>Gaku</Creator></General><en><Name>Show focused item frame</Name><Description>Show focused item frame on navigate.</Description></en><ja><Name>フォーカス項目の枠を表示</Name></ja></Item>
<TablacusExplorer><Item Id="sidetreeview"><General><Version>1.24</Version><MinVersion>2021.9.5</MinVersion><pubDate>Wed, 20 Oct 2021 00:00:00 GMT</pubDate><Creator>Gaku</Creator><Details>https://tablacus.github.io/wiki/addons/sidetreeview.html</Details></General><en><Name>Side tree view</Name><Description>Side tree view</Description></en><ja><Name>サイドツリー</Name></ja><zh><Name>共用式樹狀目錄</Name></zh></Item>
<Item Id="treeview"><General><Version>1.41</Version><MinVersion>2021.9.5</MinVersion><pubDate>Wed, 20 Oct 2021 00:00:00 GMT</pubDate><Creator>Gaku</Creator><Details>https://tablacus.github.io/wiki/addons/treeview.html</Details></General><en><Name>Tree view</Name><Description>Tree view</Description></en><ja><Name>ツリー</Name></ja><zh><Name>樹狀目錄</Name></zh></Item>
<Item Id="showfocusedframe"><General><Version>1.02</Version><MinVersion>2021.9.5</MinVersion><pubDate>Wed, 13 Oct 2021 00:00:00 GMT</pubDate><Creator>Gaku</Creator></General><en><Name>Show focused item frame</Name><Description>Show focused item frame on navigate.</Description></en><ja><Name>フォーカス項目の枠を表示</Name></ja></Item>
<Item Id="menuitemfilter"><General><Version>1.05</Version><MinVersion>2021.9.5</MinVersion><pubDate>Tue, 12 Oct 2021 00:00:00 GMT</pubDate><Creator>Gaku</Creator></General><en><Name>Menu item filter</Name><Description>Menu item filter</Description></en><ja><Name>メニュー項目フィルタ</Name></ja><zh><Name>移除選單項目</Name></zh></Item>
<Item Id="labelbutton"><General><Version>1.15</Version><MinVersion>2021.9.5</MinVersion><pubDate>Tue, 12 Oct 2021 00:00:00 GMT</pubDate><Creator>Gaku</Creator><Details>https://tablacus.github.io/wiki/addons/labelbutton.html</Details></General><en><Name>Label button</Name><Description>Label button *"Label" is required</Description></en><ja><Name>ラベルボタン</Name><Description>ラベルボタン ※"ラベル"が必要</Description></ja></Item>
<Item Id="fastcopy"><General><Version>1.21</Version><MinVersion>2021.9.5</MinVersion><pubDate>Fri, 08 Oct 2021 00:00:00 GMT</pubDate><Creator>Gaku</Creator><Details>https://tablacus.github.io/wiki/addons/fastcopy.html</Details></General><en><Name>FastCopy</Name><Description>File operations in FastCopy.</Description></en><ja><Name>FastCopy</Name><Description>FastCopyでファイル操作を行います。</Description></ja></Item>
Expand Down Expand Up @@ -36,7 +38,6 @@
<Item Id="mouse"><General><Version>1.31</Version><MinVersion>2021.4.28</MinVersion><pubDate>Tue, 17 Aug 2021 00:00:00 GMT</pubDate><Creator>Gaku</Creator><Details>https://tablacus.github.io/wiki/addons/mouse.html</Details></General><en><Name>Mouse</Name><Description>Mouse button and gestures</Description></en><ja><Name>マウス</Name><Description>マウスボタンとジェスチャー</Description></ja><zh><Name>滑鼠</Name></zh></Item>
<Item Id="filterbar"><General><Version>1.37</Version><MinVersion>2021.5.25</MinVersion><pubDate>Tue, 17 Aug 2021 00:00:00 GMT</pubDate><Creator>Gaku</Creator><Details>https://tablacus.github.io/wiki/addons/filterbar.html</Details></General><en><Name>Filter bar</Name><Description>Filter bar</Description></en><ja><Name>フィルターバー</Name></ja><zh><Name>篩選列</Name></zh></Item>
<Item Id="remember"><General><Version>1.40</Version><MinVersion>2021.7.23</MinVersion><pubDate>Tue, 17 Aug 2021 00:00:00 GMT</pubDate><Creator>Gaku</Creator><Details>https://tablacus.github.io/wiki/addons/remember.html</Details></General><en><Name>Remember folder view settings</Name><Description>Automatically remember folder view settings.</Description></en><ja><Name>フォルダの表示設定を覚える</Name><Description>自動的にフォルダの表示設定を覚えます。</Description></ja><zh><Name>記住每個資料夾檢視</Name></zh></Item>
<Item Id="treeview"><General><Version>1.40</Version><MinVersion>2021.6.17</MinVersion><pubDate>Tue, 17 Aug 2021 00:00:00 GMT</pubDate><Creator>Gaku</Creator><Details>https://tablacus.github.io/wiki/addons/treeview.html</Details></General><en><Name>Tree view</Name><Description>Tree view</Description></en><ja><Name>ツリー</Name></ja><zh><Name>樹狀目錄</Name></zh></Item>
<Item Id="addressbar"><General><Version>1.68</Version><MinVersion>2021.5.7</MinVersion><pubDate>Tue, 17 Aug 2021 00:00:00 GMT</pubDate><Creator>Gaku</Creator><Details>https://tablacus.github.io/wiki/addons/addressbar.html</Details></General><en><Name>Address bar</Name><Description>Breadcrumbs and XP style is available.</Description></en><ja><Name>アドレスバー</Name><Description>パンくずリスト、XPスタイルが選べます。</Description></ja><zh><Name>位址列</Name></zh></Item>
<Item Id="ordercb"><General><Version>1.00</Version><MinVersion>2021.7.23</MinVersion><pubDate>Fri, 13 Aug 2021 00:00:00 GMT</pubDate><Creator>Gaku</Creator></General><en><Name>Order of clipboard</Name><Description>Cut/copy to clipboard will be done in the order in which they are displayed in the view.</Description></en><ja><Name>クリップボードの順序を表示順に</Name><Description>クリップボードへのカット/コピーを表示された順にします。</Description></ja></Item>
<Item Id="fixwin11prev"><General><Version>1.00</Version><MinVersion>2021.7.23</MinVersion><pubDate>Wed, 11 Aug 2021 00:00:00 GMT</pubDate><Creator>Gaku</Creator></General><en><Name>Fix Windows 11 Preview bug</Name><Description>Workaround: Selection problem.</Description></en><ja><Name>Windows 11 Previewのバグ対策</Name><Description>選択がおかしくなるバグ対策</Description></ja></Item>
Expand All @@ -45,7 +46,6 @@
<Item Id="drivebar"><General><Version>1.18</Version><MinVersion>2021.7.16</MinVersion><pubDate>Sun, 25 Jul 2021 00:00:00 GMT</pubDate><Creator>Gaku</Creator><Details>https://tablacus.github.io/wiki/addons/drivebar.html</Details></General><en><Name>Drive bar</Name><Description>Drive bar</Description></en><ja><Name>ドライブバー</Name></ja><zh><Name>磁碟列</Name></zh></Item>
<Item Id="systemstartup"><General><Version>1.01</Version><MinVersion>2021.5.17</MinVersion><pubDate>Sat, 03 Jul 2021 00:00:00 GMT</pubDate><Creator>Gaku</Creator></General><en><Name>Launch the app on system startup</Name><Description>Launch the app at system startup on Windows</Description></en><ja><Name>システム起動時に起動する</Name></ja></Item>
<Item Id="tabgroups"><General><Version>1.44</Version><MinVersion>2021.6.17</MinVersion><pubDate>Wed, 30 Jun 2021 00:00:00 GMT</pubDate><Creator>Gaku</Creator><Details>https://tablacus.github.io/wiki/addons/tabgroups.html</Details></General><en><Name>Tab groups</Name><Description>Groups all panes containing several tabs into independent workspaces displayed as a tab bar</Description></en><ja><Name>タブグループ</Name><Description>複数のタブを含むフォルダー群をグループ分けしたタブで管理</Description></ja><zh><Name>工作區</Name></zh></Item>
<Item Id="sidetreeview"><General><Version>1.23</Version><MinVersion>2021.6.17</MinVersion><pubDate>Mon, 28 Jun 2021 00:00:00 GMT</pubDate><Creator>Gaku</Creator><Details>https://tablacus.github.io/wiki/addons/sidetreeview.html</Details></General><en><Name>Side tree view</Name><Description>Side tree view</Description></en><ja><Name>サイドツリー</Name></ja><zh><Name>共用式樹狀目錄</Name></zh></Item>
<Item Id="checkbox"><General><Version>1.13</Version><MinVersion>2021.6.17</MinVersion><pubDate>Sat, 26 Jun 2021 00:00:00 GMT</pubDate><Creator>Gaku</Creator><Details>https://tablacus.github.io/wiki/addons/checkbox.html</Details></General><en><Name>Check box</Name><Description>Check box</Description></en><ja><Name>チェックボックス</Name></ja><zh><Name>核取方塊</Name></zh></Item>
<Item Id="dragdropmenu"><General><Version>1.03</Version><MinVersion>2021.6.17</MinVersion><pubDate>Thu, 24 Jun 2021 00:00:00 GMT</pubDate><Creator>Gaku</Creator></General><en><Name>Right button drag-and-drop menu</Name><Description>Right button drag-and-drop menu</Description></en><ja><Name>右ボタンドラッグ&ドロップメニュー</Name></ja></Item>
<Item Id="font"><General><Version>1.19</Version><MinVersion>2021.5.16</MinVersion><pubDate>Mon, 07 Jun 2021 00:00:00 GMT</pubDate><Creator>Gaku</Creator><Details>https://tablacus.github.io/wiki/addons/font.html</Details></General><en><Name>Font settings</Name><Description>Font settings</Description></en><ja><Name>フォント設定</Name></ja><zh><Name>字型</Name></zh></Item>
Expand Down
Binary file added docs/sidetreeview/sidetreeview_124.zip
Binary file not shown.
Binary file added docs/treeview/treeview_141.zip
Binary file not shown.
6 changes: 3 additions & 3 deletions sidetreeview/config.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<TablacusExplorer>
<General>
<Version>1.23</Version>
<MinVersion>2021.6.17</MinVersion>
<pubDate>Mon, 28 Jun 2021 00:00:00 GMT</pubDate>
<Version>1.24</Version>
<MinVersion>2021.9.5</MinVersion>
<pubDate>Wed, 20 Oct 2021 00:00:00 GMT</pubDate>
<Options>Common:0:0</Options>
<Level>2</Level>
<Creator>Gaku</Creator>
Expand Down
21 changes: 18 additions & 3 deletions sidetreeview/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,28 @@ if (window.Addon == 1) {
if (Addons.TreeView) {
return;
}
SetGestureExec("Tree", Addons.SideTreeView.List ? "1" : "11", async function (Ctrl, pt) {

if (Addons.SideTreeView.List) {
SetGestureExec("Tree", "1", async function (Ctrl, pt) {
let Item = await Ctrl.HitTest(pt);
if (Item && (await Item.Enum || await Item.IsFolder)) {
let FV = await Ctrl.FolderView;
if (!await api.ILIsEqual(await FV.FolderItem, Item)) {
setTimeout(async function () {
FV.Navigate(Item, await GetNavigateFlags(FV));
}, 99);
}
}
}, "Async", true);
}

SetGestureExec("Tree", "11", async function (Ctrl, pt) {
let Item = await Ctrl.HitTest(pt);
if (Item) {
let FV = await Ctrl.FolderView;
if (!await api.ILIsEqual(await FV.FolderItem, Item)) {
setTimeout(async function () {
FV.Navigate(Item, await GetNavigateFlags(FV));
setTimeout(function () {
FolderMenu.Invoke(Item, void 0, FV);
}, 99);
}
}
Expand Down
6 changes: 3 additions & 3 deletions treeview/config.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<TablacusExplorer>
<General>
<Version>1.40</Version>
<MinVersion>2021.6.17</MinVersion>
<pubDate>Tue, 17 Aug 2021 00:00:00 GMT</pubDate>
<Version>1.41</Version>
<MinVersion>2021.9.5</MinVersion>
<pubDate>Wed, 20 Oct 2021 00:00:00 GMT</pubDate>
<Options>Common:0,5,6,7,8,9:0</Options>
<Level>2</Level>
<Creator>Gaku</Creator>
Expand Down
19 changes: 17 additions & 2 deletions treeview/sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,28 @@ if (item.getAttribute("MouseExec")) {
SetGestureExec(item.getAttribute("MouseOn"), item.getAttribute("Mouse"), Sync.TreeView.Exec, "Func");
}

SetGestureExec("Tree", Sync.TreeView.List ? "1" : "11", function (Ctrl, pt) {
if (Sync.TreeView.List) {
SetGestureExec("Tree", "1", function (Ctrl, pt) {
const Item = Ctrl.HitTest(pt);
if (Item) {
const FV = Ctrl.FolderView;
if (!api.ILIsEqual(FV.FolderItem, Item) && Item.IsFolder) {
setTimeout(function () {
FV.Navigate(Item, GetNavigateFlags(FV));
}, 99);
}
}
return S_OK;
}, "Func", true);
}

SetGestureExec("Tree", "11", function (Ctrl, pt) {
const Item = Ctrl.HitTest(pt);
if (Item) {
const FV = Ctrl.FolderView;
if (!api.ILIsEqual(FV.FolderItem, Item)) {
setTimeout(function () {
FV.Navigate(Item, GetNavigateFlags(FV));
FolderMenu.Invoke(Item, void 0, FV);
}, 99);
}
}
Expand Down

0 comments on commit 73a2aed

Please sign in to comment.