From 72ea3c2506bca215bd1153fc191790d6e891b944 Mon Sep 17 00:00:00 2001
From: akhater <tony@multynet.net>
Date: Fri, 8 May 2020 08:12:42 +0300
Subject: [PATCH] v0.1.2

---
 $__ak_plugins_TWCrossLinks.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/$__ak_plugins_TWCrossLinks.json b/$__ak_plugins_TWCrossLinks.json
index a6f5915..42b5157 100644
--- a/$__ak_plugins_TWCrossLinks.json
+++ b/$__ak_plugins_TWCrossLinks.json
@@ -1 +1 @@
-[{"text":"{\n    \"tiddlers\": {\n        \"$:/ak/plugins/TWCrossLinks/config/default\": {\n            \"text\": \"{\\n    \\\"DefaultFoldData\\\": \\\"hide\\\",\\n    \\\"DefaultTab\\\": \\\"$:/ak/plugins/TWCrossLinks/core/backlinks\\\",\\n    \\\"TranscludeInboundLinks\\\": \\\"true\\\"\\n}\",\n            \"bag\": \"default\",\n            \"revision\": \"138\",\n            \"type\": \"application/json\",\n            \"title\": \"$:/ak/plugins/TWCrossLinks/config/default\",\n            \"tags\": \"\",\n            \"modified\": \"20200505065649643\",\n            \"created\": \"20200429195808011\"\n        },\n        \"$:/ak/plugins/TWCrossLinks/core/backlinks\": {\n            \"created\": \"20200429182330136\",\n            \"text\": \"\\\\define lingo-base() $:/language/TiddlerInfo/\\n<$list filter=\\\"[!is[system]all[current]backlinks[]!tag[hide]sort[title]] -[is[current]]\\\" emptyMessage=<<lingo References/Empty>> variable=result>\\n    <$list filter=\\\"[[$:/ak/plugins/TWCrossLinks/config/default]getindex[TranscludeInboundLinks]] -[[true]]\\\" variable=conf>\\n        <div class=\\\"tc-menu-list-item\\\"> <$link to=<<result>> ><$view tiddler=<<result>> field=title> </$view></$link> </div>  \\n    </$list>\\n    <$list filter=\\\"[[$:/ak/plugins/TWCrossLinks/config/default]getindex[TranscludeInboundLinks]] -[[false]]\\\" variable=conf>\\n        <div class=\\\"tc-menu-list-item\\\">\\n            <div class=\\\"trans-container\\\"> \\n                <$link to=<<result>> ><$view tiddler=<<result>> field=title template=\\\"$:/core/ui/ListItemTemplate\\\"> </$view></$link>\\n<span class=\\\"trans-content\\\">  <$context term=<<currentTiddler>> tiddler= <<result>> />  </span> \\n            </div>\\n        </div>\\n    </$list>\\n</$list>\",\n            \"bag\": \"default\",\n            \"revision\": \"0\",\n            \"type\": \"text/vnd.tiddlywiki\",\n            \"title\": \"$:/ak/plugins/TWCrossLinks/core/backlinks\",\n            \"tags\": \"$:/tags/TWCrossLinks\",\n            \"modified\": \"20200504205713469\",\n            \"caption\": \"Backlinks\"\n        },\n        \"$:/ak/plugins/TWCrossLinks/core/freelinks\": {\n            \"created\": \"20200430051330741\",\n            \"text\": \"\\\\define searchInField(field, for, ci)\\n<$list filter=\\\"[!is[shadow]!is[system]regexp:$field$[$for$$ci$]] -[all[current]backlinks[]]\\\" emptyMessage=\\\"No freelinks to this tiddler\\\" \\n variable=result>\\n    <$list filter=\\\"[[$:/ak/plugins/TWCrossLinks/config/default]getindex[TranscludeInboundLinks]] -[[true]]\\\" variable=var1>\\n        <div class=\\\"tc-menu-list-item\\\"> <$link to=<<result>> ><$view tiddler=<<result>> field=title> </$view></$link> </div> \\n    </$list>\\n    <$list filter=\\\"[[$:/ak/plugins/TWCrossLinks/config/default]getindex[TranscludeInboundLinks]] -[[false]]\\\" variable=var1>\\n        <div class=\\\"tc-menu-list-item\\\">\\n            <div class=\\\"trans-container\\\">\\n                <$link to=<<result>> ><$view tiddler=<<result>> field=title> </$view></$link>\\n                <span class=\\\"trans-content\\\">  <$context term=<<currentTiddler>> tiddler=<<result>> /> </span>\\n            </div>\\n        </div>\\n    </$list>\\n</$list>\\n\\\\end\\n\\n\\n<$macrocall $name=\\\"searchInField\\\" field=\\\"text\\\" for={{!!title}} ci=\\\"(?i)\\\"/>\\n\",\n            \"bag\": \"default\",\n            \"revision\": \"0\",\n            \"type\": \"text/vnd.tiddlywiki\",\n            \"title\": \"$:/ak/plugins/TWCrossLinks/core/freelinks\",\n            \"tags\": \"$:/tags/TWCrossLinks\",\n            \"modified\": \"20200504211412099\",\n            \"caption\": \"Freelinks\"\n        },\n        \"$:/ak/plugins/TWCrossLinks/core/keywords\": {\n            \"created\": \"20200429195123372\",\n            \"text\": \"\\\\define lingo-base() $:/language/TiddlerInfo/\\n<$list filter=\\\"[search:keywords<currentTiddler>sort[title]]\\\" emptyMessage=\\\"There are no tiddler having this one as keyword\\\" template=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n\",\n            \"bag\": \"default\",\n            \"revision\": \"0\",\n            \"type\": \"text/vnd.tiddlywiki\",\n            \"title\": \"$:/ak/plugins/TWCrossLinks/core/keywords\",\n            \"tags\": \"$:/tags/TWCrossLinks\",\n            \"modified\": \"20200502090501525\",\n            \"caption\": \"Keywords\"\n        },\n        \"$:/ak/plugins/TWCrossLinks/core/tagging\": {\n            \"created\": \"20200429183952157\",\n            \"text\": \"\\\\define lingo-base() $:/language/TiddlerInfo/\\n<$list filter=\\\"[all[current]tagging[]]\\\" emptyMessage=<<lingo Tagging/Empty>> template=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n\",\n            \"bag\": \"default\",\n            \"revision\": \"0\",\n            \"type\": \"text/vnd.tiddlywiki\",\n            \"title\": \"$:/ak/plugins/TWCrossLinks/core/tagging\",\n            \"tags\": \"$:/tags/TWCrossLinks\",\n            \"modified\": \"20200502090517091\",\n            \"caption\": \"Tagged\"\n        },\n        \"$:/ak/plugins/TWCrossLinks/ui/footer\": {\n            \"created\": \"20200430143629582\",\n            \"text\": \"\\\\define regexpattern()\\n$(currentTiddler)$(?i)\\n\\\\end\\n<!--Show references Backlinks/Keywords/Tags/Freelinks-->\\n<$set name=\\\"text-pattern\\\" value=<<regexpattern>>>\\n<$list filter=\\\"[all[current]tagging[]]  [search:keywords<currentTiddler>]  [!is[system]regexp:text<text-pattern>] [!is[system]all[current]backlinks[]!tag[hide]] -[is[current]] +[limit[1]]\\\" variable=none>\\n    <$reveal type=\\\"nomatch\\\" stateTitle=<<folded-state>> text=\\\"hide\\\" tag=\\\"div\\\" retain=\\\"yes\\\" animate=\\\"yes\\\">\\n        ,,<hr />,,\\n    <span class=\\\"hideprint\\\">\\n         <span style=\\\"font-size:0.85em\\\">\\n        //Inbound Links:// </span>\\n<$list filter=\\\"[[$:/ak/plugins/TWCrossLinks/config/default]getindex[DefaultFoldData]]\\\" variable=DefaultFoldState>\\n        <$reveal type=\\\"nomatch\\\" stateTitle=\\\"$:/temp/TWCrossLinksFoldData\\\" stateIndex=<<currentTiddler>> text=\\\"show\\\" default=<<DefaultFoldState>> >\\n            <$button class=<<tv-config-toolbar-class>> setTitle=\\\"$:/temp/TWCrossLinksFoldData\\\" setIndex=<<currentTiddler>> setTo=\\\"show\\\">{{$:/core/images/unfold-button}}</$button>    <hr />\\n        </$reveal>\\n            <$reveal type=\\\"match\\\" stateTitle=\\\"$:/temp/TWCrossLinksFoldData\\\" stateIndex=<<currentTiddler>> text=\\\"show\\\" default=<<DefaultFoldState>> >\\n                <$button class=<<tv-config-toolbar-class>> setTitle=\\\"$:/temp/TWCrossLinksFoldData\\\" setIndex=<<currentTiddler>> setTo=\\\"hide\\\">{{$:/core/images/fold-button}}</$button>   <hr />\\n<!--                <span class=\\\"indent1\\\"> -->\\n                    <$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/TWCrossLinksSegment]!has[draft.of]] [[$:/ak/plugins/TWCrossLinks/ui/tabs]]\\\" variable=\\\"listItem\\\"><$transclude tiddler=<<listItem>> mode=\\\"block\\\"/> </$list>\\n<!--                </span> -->\\n            </$reveal>\\n</$list>\\n        </span>\\n    </$reveal>\\n</$list>\\n</$set>\",\n            \"bag\": \"default\",\n            \"revision\": \"0\",\n            \"type\": \"text/vnd.tiddlywiki\",\n            \"title\": \"$:/ak/plugins/TWCrossLinks/ui/footer\",\n            \"tags\": \"$:/tags/ViewTemplate\",\n            \"modified\": \"20200503114406300\"\n        },\n        \"$:/ak/plugins/TWCrossLinks/ui/footer.kwd\": {\n            \"created\": \"20200428214251454\",\n            \"text\": \"<!--If  has keywords-->\\n<$list filter=\\\"[all[current]has[keywords]]\\\">\\n,,//See also//:\\n<$list filter=\\\"[enlist{!!keywords}]\\\" template=\\\"$:/ak/plugins/TWCrossLinks/ui/footer.kwd.template\\\"></$list>,,\\n</$list>\\n<!--If reference field is not empty-->\\n<$list filter=\\\"[is[current]!field:reference[]]\\\">\\n <br />\\n,,External ref: <a href={{!!url}} target=\\\"_blank\\\" class=\\\"tc-tiddlylink-external\\\"><$view field=\\\"reference\\\"}}/></a><br>,,\\n</$list>\\n\\n\\n\\n\",\n            \"bag\": \"default\",\n            \"revision\": \"0\",\n            \"type\": \"text/vnd.tiddlywiki\",\n            \"title\": \"$:/ak/plugins/TWCrossLinks/ui/footer.kwd\",\n            \"tags\": \"$:/tags/ViewTemplate\",\n            \"modified\": \"20200502090828057\",\n            \"list-before\": \"$:/ak/plugins/TWCrossLinks/ui/footer\"\n        },\n        \"$:/ak/plugins/TWCrossLinks/ui/footer.kwd.css\": {\n            \"created\": \"20200428212006657\",\n            \"text\": \".sl-header{\\n  color: #383d41;\\n  background-color: #e2e3e5;\\n  border-color: #d6d8db;\\n  padding: 0.75rem 1.25rem;\\n  margin-bottom: 1rem;\\n  border-radius: 0.25rem;\\n}\\n\\n.sl-keywords {\\n   display: inline-block;\\n    padding: 0.16em 0.7em;\\n    font-size: 0.9em;\\n    font-weight: 400;\\n    line-height: 1.2em;\\n    color: #333333;\\n    white-space: nowrap;\\n    vertical-align: baseline;\\n    border-radius: 1em;\\n    background-color:#ffe7b3;\\n}\\n.sl-keywords {\\n  outline:none;\\n} /*remove the blue border on button focus */\",\n            \"bag\": \"default\",\n            \"revision\": \"0\",\n            \"type\": \"text/vnd.tiddlywiki\",\n            \"title\": \"$:/ak/plugins/TWCrossLinks/ui/footer.kwd.css\",\n            \"tags\": \"$:/tags/Stylesheet\",\n            \"modified\": \"20200502090911093\"\n        },\n        \"$:/ak/plugins/TWCrossLinks/ui/footer.kwd.template\": {\n            \"created\": \"20200428204919232\",\n            \"text\": \"\\\\define keywords-body(kwd)\\n<$list filter=\\\"[tag[$kwd$]] [search:keywords[$kwd$]]\\\" variable=\\\"itemTid\\\">\\n<$link to=<<itemTid>> ><$text text=<<itemTid>>/></$link>\\n</$list>\\n\\\\end\\n<!-- keywords-body lists all tiddler tagged with kwd or have kwd in their keywords field -->\\n\\n\\n<$set name=\\\"transclusion\\\" value=<<qualify \\\"$:/state/popup/tag\\\">> >\\n<$button class=\\\"tc-btn-invisible sl-keywords\\\" popup=<<transclusion>> >\\n<$text text=<<currentTiddler>>/>\\n</$button>\\n<$reveal state=<<transclusion>> type=\\\"popup\\\" position=\\\"below\\\" animate=\\\"yes\\\" class=\\\"tc-drop-down\\\">\\n<$link to=<<currentTiddler>> ><$text text=<<currentTiddler>>/></$link>\\n<hr>\\n<$macrocall $name=\\\"keywords-body\\\" kwd=<<currentTiddler>> />\\n</$reveal>\\n</$set>\\n\\n\",\n            \"bag\": \"default\",\n            \"revision\": \"0\",\n            \"type\": \"text/vnd.tiddlywiki\",\n            \"title\": \"$:/ak/plugins/TWCrossLinks/ui/footer.kwd.template\",\n            \"modified\": \"20200502091004582\"\n        },\n        \"$:/ak/plugins/TWCrossLinks/ui/tabs\": {\n            \"created\": \"20200429182054776\",\n            \"text\": \"<$list filter=\\\"[[$:/ak/plugins/TWCrossLinks/config/default]getindex[DefaultTab]]\\\" variable=DefaultTab>\\n<$macrocall $name=\\\"tabs\\\" tabsList=\\\"[all[shadows+tiddlers]tag[$:/tags/TWCrossLinks]!has[draft.of]]\\\" default=<<DefaultTab>> />\\n</$list>\\n\",\n            \"bag\": \"default\",\n            \"revision\": \"0\",\n            \"type\": \"text/vnd.tiddlywiki\",\n            \"title\": \"$:/ak/plugins/TWCrossLinks/ui/tabs\",\n            \"tags\": \"\",\n            \"modified\": \"20200503114538223\"\n        },\n        \"$:/ak/plugins/TWCrossLinks/change.log\": {\n            \"text\": \"''2020-05-05'': v0.1.0\\n\\n* Inbound links for \\\"//Backlinks//\\\" and \\\"//Freelinks//\\\" can now be transcluded in a pop-up, try it by enabling this feature from the [[TWCrosslinks|$:/ak/plugins/TWCrossLinks]] config panel\\n\\n\\n''2020-05-03'': v0.0.7\\n\\n* Added configuration panel, can be found at $:/ak/plugins/TWCrossLinks\\n** You can now set the Default state of the \\\"inbound links\\\" {Shown / Hidden}\\n** You can now set the Default \\\"inbound links\\\" tab\\n\\n''2020-05-02'': v0.0.3\\n\\n* Initial packaging and release\",\n            \"bag\": \"default\",\n            \"revision\": \"6\",\n            \"type\": \"text/vnd.tiddlywiki\",\n            \"title\": \"$:/ak/plugins/TWCrossLinks/change.log\",\n            \"tags\": \"\",\n            \"modified\": \"20200505073749084\",\n            \"created\": \"20200502091404523\"\n        },\n        \"$:/ak/plugins/TWCrossLinks/config\": {\n            \"created\": \"20200503100751953\",\n            \"text\": \"''By default the //inbound links// should be:'' <br />\\n<$tiddler tiddler=\\\"$:/ak/plugins/TWCrossLinks/config/default\\\">\\n<$radio index=\\\"DefaultFoldData\\\" value=\\\"show\\\"> Shown </$radio>\\n<$radio index=\\\"DefaultFoldData\\\" value=\\\"hide\\\"> Hidden </$radio>\\n</$tiddler>\\n\\n''Select which Tab you want to be open by Default'' <br />\\n<$tiddler tiddler=\\\"$:/ak/plugins/TWCrossLinks/config/default\\\">\\n<$radio index=\\\"DefaultTab\\\" value=\\\"$:/ak/plugins/TWCrossLinks/core/backlinks\\\"> Backlinks </$radio>\\n<$radio index=\\\"DefaultTab\\\" value=\\\"$:/ak/plugins/TWCrossLinks/core/freelinks\\\"> Freelinks </$radio>\\n<$radio index=\\\"DefaultTab\\\" value=\\\"$:/ak/plugins/TWCrossLinks/core/keywords\\\"> Keywords </$radio>\\n<$radio index=\\\"DefaultTab\\\" value=\\\"$:/ak/plugins/TWCrossLinks/core/tagging\\\"> Tagged </$radio>\\n</$tiddler>\\n\\n<$checkbox tiddler=\\\"$:/ak/plugins/TWCrossLinks/config/default\\\" index=\\\"TranscludeInboundLinks\\\" checked=\\\"true\\\" unchecked=\\\"false\\\" default=\\\"false\\\"> ''Transclude //Backlinks// & //Freelinks// on hover''</$checkbox>\\n\",\n            \"bag\": \"default\",\n            \"revision\": \"7\",\n            \"type\": \"text/vnd.tiddlywiki\",\n            \"title\": \"$:/ak/plugins/TWCrossLinks/config\",\n            \"modified\": \"20200504203958150\"\n        },\n        \"$:/ak/plugins/TWCrossLinks/readme\": {\n            \"created\": \"20200503110056664\",\n            \"text\": \"For feedback / suggestions / help please visit plugin page on [[Google Groups|https://groups.google.com/forum/#!topic/tiddlywiki/9ra0s9AEKl4]] or [[Github|https://github.com/akhater/TWCrossLinks]]\",\n            \"tags\": \"\",\n            \"title\": \"$:/ak/plugins/TWCrossLinks/readme\",\n            \"modified\": \"20200503110556549\"\n        },\n        \"$:/ak/plugins/TWCrossLinks/daniello/context.js\": {\n            \"created\": \"20140418153435777\",\n            \"text\": \"/*\\\\\\\\\\ntitle: $:/core/modules/widgets/danielo/context-widget.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nEdit-text widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\nvar contextWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\ncontextWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\ncontextWidget.prototype.render = function(parent,nextSibling) {\\n   // Save the parent dom node\\n\\tthis.parentDomNode = parent;\\n\\t// Compute our attributes\\n\\tthis.computeAttributes();\\n\\t// Execute our logic\\n\\tthis.execute();\\n    \\n  if(this.term && this.term.length>3){\\n     \\n      this.createRegexp();\\n      var matches = this.executeRegexp();\\n\\t  if(matches.length > 0){ \\n        this.domNode = this.document.createElement(this.element);\\n        this.domNode.className=\\\"tw-context\\\";\\n        this.composeResults( matches ); //this appends to domNode        \\n      \\t// Insert element\\n      \\tparent.insertBefore(this.domNode,nextSibling);\\n      \\tthis.renderChildren(this.domNode,null);\\n\\t  \\tthis.domNodes.push(this.domNode);\\n      }\\n  }\\n\\t\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\ncontextWidget.prototype.execute = function() {\\n\\t// Get the parameters from the attributes\\n    this.matchedClass = this.getAttribute(\\\"matchClass\\\",\\\"matched\\\");\\n\\tthis.tiddler = this.getAttribute( \\\"tiddler\\\",this.getVariable(\\\"currentTiddler\\\") );\\n    this.term =  this.getAttribute(\\\"term\\\",this.getAttribute(\\\"searchTerm\\\"));\\n\\tthis.contextLength = this.getAttribute(\\\"length\\\",50);\\n    this.before = this.getAttribute(\\\"before\\\",this.contextLength);\\n    this.after = this.getAttribute(\\\"after\\\",this.contextLength);\\n    this.maxMatches = this.getAttribute(\\\"maxMatches\\\",10);\\n    this.element = this.getAttribute(\\\"element\\\",\\\"pre\\\");\\n\\tthis.makeChildWidgets();\\n};\\n\\n  /*Create the regular expression*/\\ncontextWidget.prototype.createRegexp = function()\\n{\\n  var regString = \\\"(\\\\\\\\w+[\\\\\\\\s\\\\\\\\S]{0,#before#})?(#term#)([\\\\\\\\s\\\\\\\\S]{0,#after#}\\\\\\\\w+)?\\\";\\n\\n  var regString = regString.replace(\\\"#before#\\\",this.before).replace(\\\"#term#\\\", $tw.utils.escapeRegExp(this.term) ) .replace(\\\"#after#\\\",this.after);\\n  this.regexp = new RegExp(regString,\\\"ig\\\");\\n  //console.log(regString);\\n};\\n/*\\nexecute the regular expresion\\n*/\\ncontextWidget.prototype.executeRegexp = function()\\n{\\n  var text = this.wiki.getTiddlerText(this.tiddler), match,results = new Array();\\n  while( (match = this.regexp.exec( text ) ) && (results.length < this.maxMatches) )\\n      { results.push(match) }\\n  //console.log(\\\"matches\\\",results);\\n  return results;\\n};\\n\\n/*\\ncompose the results\\nmatches : array of match objects from regular expression execute\\n*/\\ncontextWidget.prototype.composeResults = function(matches){\\n var result=[], self=this, node = this.domNode,\\n dots = textNode(\\\"...\\\\n\\\"),\\n span = matchedNode( this.term );\\n\\n  for(var i=0; i < matches.length; i++){\\n   processMatch( matches[i] );\\n }\\n  \\n  function processMatch(match){\\n    if( match.index !== 0) node.appendChild( dots.cloneNode(true) );\\n    for( var i=1;i<match.length;i++ ) {//match[0] full matched text (all groups together)\\n      if( match[i] ) {\\n        if ( match[i].toLowerCase() == self.term.toLowerCase() ) \\n          node.appendChild( match[i] == self.term ? span.cloneNode(true) : matchedNode( match[i] ) )\\n          else\\n            node.appendChild( textNode( match[i]) )\\n      }\\n    }\\n    if( match.index + match[0].length < match.input.length) node.appendChild( dots.cloneNode(true) );\\n  }\\n  \\n  function textNode(text){ return self.document.createTextNode(text) }\\n  function matchedNode(text) { \\n    var node = self.document.createElement(\\\"span\\\"); node.appendChild( textNode(text) );  node.className = self.matchedClass;\\n    return node }\\n  \\n};\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\ncontextWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.tiddler || changedAttributes.term || changedAttributes.length || changedAttributes.matchedClass) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n    return this.refreshChildren(changedTiddlers);\\n};\\n\\nexports.context = contextWidget;\\n\\n})();\",\n            \"bag\": \"default\",\n            \"revision\": \"1\",\n            \"type\": \"application/javascript\",\n            \"title\": \"$:/ak/plugins/TWCrossLinks/daniello/context.js\",\n            \"module-type\": \"widget\",\n            \"modifier\": \"danielo\",\n            \"modified\": \"20200504180206365\",\n            \"creator\": \"danielo\"\n        },\n        \"$:/ak/plugins/TWCrossLinks/ui/context.css\": {\n            \"created\": \"20140529162823729\",\n            \"text\": \".matched {background-color:#faed27; color:black;}\\n\\n\\n.tw-context {\\n    display: block;\\n    padding: 10px 20px;\\n    margin-top: 1em;\\n    margin-bottom: 1em;\\n    word-break: normal;\\n    word-wrap: break-word;\\n    white-space: pre;\\n    white-space: pre-wrap;\\n    background-color: #eee;\\n    border: 1px solid #cccccc;\\n    border-radius: 3px;\\n}\\n\\n.tc-menu-list-item .trans-container {\\n   padding-left: 5px;\\n}\",\n            \"bag\": \"default\",\n            \"revision\": \"1\",\n            \"type\": \"text/css\",\n            \"title\": \"$:/ak/plugins/TWCrossLinks/ui/context.css\",\n            \"tags\": \"$:/tags/Stylesheet\",\n            \"modified\": \"20200505061619315\"\n        },\n        \"$:/ak/plugins/TWCrossLinks/ui/transclude.css\": {\n            \"created\": \"20200505112617003\",\n            \"text\": \".trans-container {\\n  position: relative;\\n  display: inline-block;\\n}\\n\\n.trans-container .trans-content {\\n  visibility: hidden;\\n  overflow: hidden;\\n  margin-top: -2em;\\n  padding: 5px;\\n  display: block;\\n  \\n  /* Position the tooltip */\\n  position: absolute;\\n  z-index: 80;\\n  \\n  /*  \\n  top: 20px;\\n  left: 20px;  */\\n\\n  float: right;  \\n  opacity: 0;\\n  transition: opacity 0.3s; \\n}\\n\\n.trans-container .trans-content::after {\\n  position: relative;\\n  overflow: hidden;\\n  margin: 0;\\n  padding: 0;\\n  border: 1px;\\n}\\n\\n.trans-content {\\n   width: 90vw;\\n   max-width: 32em;\\n}\\n\\n\\n.trans-container:hover > .trans-content {\\n  margin-top:-5px;\\n  visibility: visible;\\n  opacity: 1;\\n  transition: 0.25s all ease;\\n  transition-delay: 0.75s;\\n}\",\n            \"tags\": \"$:/tags/Stylesheet\",\n            \"title\": \"$:/ak/plugins/TWCrossLinks/ui/transclude.css\",\n            \"modified\": \"20200505112651001\",\n            \"type\": \"text/css\"\n        }\n    }\n}","bag":"default","revision":"1","version":"0.1.1","type":"application/json","title":"$:/ak/plugins/TWCrossLinks","tags":"","plugin-type":"plugin","name":"TWCrossLinks","modified":"20200505113009251","list":"config readme change.log","description":"Discover all your intra tiddlers links","created":"20200502092707287"}]
\ No newline at end of file
+[{"text":"{\n    \"tiddlers\": {\n        \"$:/ak/plugins/TWCrossLinks/config/default\": {\n            \"created\": \"20200429195808011\",\n            \"text\": \"{\\n    \\\"DefaultFoldData\\\": \\\"show\\\",\\n    \\\"DefaultTab\\\": \\\"$:/ak/plugins/TWCrossLinks/core/backlinks\\\",\\n    \\\"TranscludeInboundLinks\\\": \\\"true\\\",\\n    \\\"HideInboundTitle\\\": \\\"false\\\"\\n}\",\n            \"bag\": \"default\",\n            \"revision\": \"0\",\n            \"type\": \"application/json\",\n            \"title\": \"$:/ak/plugins/TWCrossLinks/config/default\",\n            \"tags\": \"\",\n            \"modified\": \"20200508050351394\"\n        },\n        \"$:/ak/plugins/TWCrossLinks/core/backlinks\": {\n            \"created\": \"20200429182330136\",\n            \"text\": \"\\\\define lingo-base() $:/language/TiddlerInfo/\\n<$list filter=\\\"[!is[system]all[current]backlinks[]!tag[hide]sort[title]] -[is[current]]\\\" emptyMessage=<<lingo References/Empty>> variable=result>\\n    <$list filter=\\\"[[$:/ak/plugins/TWCrossLinks/config/default]getindex[TranscludeInboundLinks]] -[[true]]\\\" variable=conf>\\n        <div class=\\\"tc-menu-list-item\\\"> <$link to=<<result>> ><$view tiddler=<<result>> field=title> </$view></$link> </div>  \\n    </$list>\\n    <$list filter=\\\"[[$:/ak/plugins/TWCrossLinks/config/default]getindex[TranscludeInboundLinks]] -[[false]]\\\" variable=conf>\\n        <div class=\\\"tc-menu-list-item\\\">\\n            <div class=\\\"trans-container\\\"> \\n                <$link to=<<result>> ><$view tiddler=<<result>> field=title template=\\\"$:/core/ui/ListItemTemplate\\\"> </$view></$link>\\n<span class=\\\"trans-content\\\">  <$context term=<<currentTiddler>> tiddler= <<result>> />  </span> \\n            </div>\\n        </div>\\n    </$list>\\n</$list>\",\n            \"bag\": \"default\",\n            \"revision\": \"0\",\n            \"type\": \"text/vnd.tiddlywiki\",\n            \"title\": \"$:/ak/plugins/TWCrossLinks/core/backlinks\",\n            \"tags\": \"$:/tags/TWCrossLinks\",\n            \"modified\": \"20200504205713469\",\n            \"caption\": \"Backlinks\"\n        },\n        \"$:/ak/plugins/TWCrossLinks/core/freelinks\": {\n            \"text\": \"\\\\define searchInField(field, for, ci)\\n<$list filter=\\\"[!is[shadow]!is[system]regexp:$field$[$for$$ci$]] -[all[current]backlinks[]] -[is[current]]\\\" emptyMessage=\\\"No freelinks to this tiddler\\\" \\n variable=result>\\n    <$list filter=\\\"[[$:/ak/plugins/TWCrossLinks/config/default]getindex[TranscludeInboundLinks]] -[[true]]\\\" variable=var1>\\n        <div class=\\\"tc-menu-list-item\\\"> <$link to=<<result>> ><$view tiddler=<<result>> field=title> </$view></$link> </div> \\n    </$list>\\n    <$list filter=\\\"[[$:/ak/plugins/TWCrossLinks/config/default]getindex[TranscludeInboundLinks]] -[[false]]\\\" variable=var1>\\n        <div class=\\\"tc-menu-list-item\\\">\\n            <div class=\\\"trans-container\\\">\\n                <$link to=<<result>> ><$view tiddler=<<result>> field=title> </$view></$link>\\n                <span class=\\\"trans-content\\\">  <$context term=<<currentTiddler>> tiddler=<<result>> /> </span>\\n            </div>\\n        </div>\\n    </$list>\\n</$list>\\n\\\\end\\n\\n\\n<$macrocall $name=\\\"searchInField\\\" field=\\\"text\\\" for={{!!title}} ci=\\\"(?i)\\\"/>\\n\",\n            \"bag\": \"default\",\n            \"revision\": \"0\",\n            \"type\": \"text/vnd.tiddlywiki\",\n            \"title\": \"$:/ak/plugins/TWCrossLinks/core/freelinks\",\n            \"tags\": \"$:/tags/TWCrossLinks\",\n            \"modified\": \"20200505183811829\",\n            \"created\": \"20200430051330741\",\n            \"caption\": \"Freelinks\"\n        },\n        \"$:/ak/plugins/TWCrossLinks/core/keywords\": {\n            \"created\": \"20200429195123372\",\n            \"text\": \"\\\\define lingo-base() $:/language/TiddlerInfo/\\n<$list filter=\\\"[search:keywords<currentTiddler>sort[title]]\\\" emptyMessage=\\\"There are no tiddler having this one as keyword\\\" template=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n\",\n            \"bag\": \"default\",\n            \"revision\": \"0\",\n            \"type\": \"text/vnd.tiddlywiki\",\n            \"title\": \"$:/ak/plugins/TWCrossLinks/core/keywords\",\n            \"tags\": \"$:/tags/TWCrossLinks\",\n            \"modified\": \"20200502090501525\",\n            \"caption\": \"Keywords\"\n        },\n        \"$:/ak/plugins/TWCrossLinks/core/tagging\": {\n            \"created\": \"20200429183952157\",\n            \"text\": \"\\\\define lingo-base() $:/language/TiddlerInfo/\\n<$list filter=\\\"[all[current]tagging[]]\\\" emptyMessage=<<lingo Tagging/Empty>> template=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n\",\n            \"bag\": \"default\",\n            \"revision\": \"0\",\n            \"type\": \"text/vnd.tiddlywiki\",\n            \"title\": \"$:/ak/plugins/TWCrossLinks/core/tagging\",\n            \"tags\": \"$:/tags/TWCrossLinks\",\n            \"modified\": \"20200502090517091\",\n            \"caption\": \"Tagged\"\n        },\n        \"$:/ak/plugins/TWCrossLinks/ui/footer\": {\n            \"text\": \"\\\\define regexpattern()\\n$(currentTiddler)$(?i)\\n\\\\end\\n\\\\define showFooterTabs() \\n<span class=\\\"TWCrossLinksFooter\\\">\\n    <$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/TWCrossLinksSegment]!has[draft.of]] [[$:/ak/plugins/TWCrossLinks/ui/tabs]]\\\" variable=\\\"listItem\\\"><$transclude tiddler=<<listItem>> mode=\\\"block\\\"> </$list>\\n</span>\\n\\\\end\\n\\n<!--Show references Backlinks/Keywords/Tags/Freelinks-->\\n<$set name=\\\"text-pattern\\\" value=<<regexpattern>>>\\n    <$list filter=\\\"[all[current]tagging[]]  [search:keywords<currentTiddler>]  [!is[system]regexp:text<text-pattern>] [!is[system]all[current]backlinks[]!tag[hide]] -[is[current]] +[limit[1]]\\\" variable=none>\\n        <$reveal type=\\\"nomatch\\\" stateTitle=<<folded-state>> text=\\\"hide\\\">\\n            <span class=\\\"hideprint\\\">\\n                <$list filter=\\\"[[$:/ak/plugins/TWCrossLinks/config/default]getindex[HideInboundTitle]] -[[true]]\\\" variable=conf>\\n                    <hr />\\n                    <span style=\\\"font-size:0.85em\\\" >\\n                        //<$count filter=\\\"[all[current]tagging[]]  [search:keywords<currentTiddler>]  [!is[system]regexp:text<text-pattern>] [!is[system]all[current]backlinks[]!tag[hide]] -[is[current]]\\\" />  References:// \\n                    </span>\\n                    <$list filter=\\\"[[$:/ak/plugins/TWCrossLinks/config/default]getindex[DefaultFoldData]]\\\" variable=DefaultFoldState>\\n                        <$reveal type=\\\"nomatch\\\" stateTitle=\\\"$:/temp/TWCrossLinksFoldData\\\" stateIndex=<<currentTiddler>> text=\\\"show\\\" default=<<DefaultFoldState>> >\\n                            <$button  class=<<tv-config-toolbar-class>> setTitle=\\\"$:/temp/TWCrossLinksFoldData\\\" setIndex=<<currentTiddler>> setTo=\\\"show\\\">{{$:/core/images/unfold-button}}</$button>    \\n                        </$reveal>\\n                        <$reveal type=\\\"match\\\" stateTitle=\\\"$:/temp/TWCrossLinksFoldData\\\" stateIndex=<<currentTiddler>> text=\\\"show\\\" default=<<DefaultFoldState>> >\\n                            <$button class=<<tv-config-toolbar-class>> setTitle=\\\"$:/temp/TWCrossLinksFoldData\\\" setIndex=<<currentTiddler>> setTo=\\\"hide\\\" >{{$:/core/images/fold-button}}</$button> \\n                            <<showFooterTabs>>\\n                        </$reveal>\\n                    </$list>\\n                </$list>\\n                <$list filter=\\\"[[$:/ak/plugins/TWCrossLinks/config/default]getindex[HideInboundTitle]] -[[false]]\\\" variable=conf>\\n                    <<showFooterTabs>>\\n                </$list>\\n            </span>\\n        </$reveal>\\n    </$list>\\n</$set>\",\n            \"bag\": \"default\",\n            \"revision\": \"0\",\n            \"type\": \"text/vnd.tiddlywiki\",\n            \"title\": \"$:/ak/plugins/TWCrossLinks/ui/footer\",\n            \"tags\": \"$:/tags/ViewTemplate\",\n            \"modified\": \"20200507210307828\",\n            \"created\": \"20200430143629582\"\n        },\n        \"$:/ak/plugins/TWCrossLinks/ui/footer.kwd\": {\n            \"created\": \"20200428214251454\",\n            \"text\": \"<!--If  has keywords-->\\n<$list filter=\\\"[all[current]has[keywords]]\\\">\\n,,//See also//:\\n<$list filter=\\\"[enlist{!!keywords}]\\\" template=\\\"$:/ak/plugins/TWCrossLinks/ui/footer.kwd.template\\\"></$list>,,\\n</$list>\\n<!--If reference field is not empty-->\\n<$list filter=\\\"[is[current]!field:reference[]]\\\">\\n <br />\\n,,External ref: <a href={{!!url}} target=\\\"_blank\\\" class=\\\"tc-tiddlylink-external\\\"><$view field=\\\"reference\\\"}}/></a><br>,,\\n</$list>\\n\\n\\n\\n\",\n            \"bag\": \"default\",\n            \"revision\": \"0\",\n            \"type\": \"text/vnd.tiddlywiki\",\n            \"title\": \"$:/ak/plugins/TWCrossLinks/ui/footer.kwd\",\n            \"tags\": \"$:/tags/ViewTemplate\",\n            \"modified\": \"20200502090828057\",\n            \"list-before\": \"$:/ak/plugins/TWCrossLinks/ui/footer\"\n        },\n        \"$:/ak/plugins/TWCrossLinks/ui/footer.kwd.css\": {\n            \"created\": \"20200428212006657\",\n            \"text\": \".sl-header{\\n  color: #383d41;\\n  background-color: #e2e3e5;\\n  border-color: #d6d8db;\\n  padding: 0.75rem 1.25rem;\\n  margin-bottom: 1rem;\\n  border-radius: 0.25rem;\\n}\\n\\n.sl-keywords {\\n   display: inline-block;\\n    padding: 0.16em 0.7em;\\n    font-size: 0.9em;\\n    font-weight: 400;\\n    line-height: 1.2em;\\n    color: #333333;\\n    white-space: nowrap;\\n    vertical-align: baseline;\\n    border-radius: 1em;\\n    background-color:#ffe7b3;\\n}\\n.sl-keywords {\\n  outline:none;\\n} /*remove the blue border on button focus */\\n\\n.TWCrossLinksFooter p { margin: 0;}\",\n            \"bag\": \"default\",\n            \"revision\": \"0\",\n            \"type\": \"text/css\",\n            \"title\": \"$:/ak/plugins/TWCrossLinks/ui/footer.kwd.css\",\n            \"tags\": \"$:/tags/Stylesheet\",\n            \"modified\": \"20200508045139340\"\n        },\n        \"$:/ak/plugins/TWCrossLinks/ui/footer.kwd.template\": {\n            \"created\": \"20200428204919232\",\n            \"text\": \"\\\\define keywords-body(kwd)\\n<$list filter=\\\"[tag[$kwd$]] [search:keywords[$kwd$]]\\\" variable=\\\"itemTid\\\">\\n<$link to=<<itemTid>> ><$text text=<<itemTid>>/></$link>\\n</$list>\\n\\\\end\\n<!-- keywords-body lists all tiddler tagged with kwd or have kwd in their keywords field -->\\n\\n\\n<$set name=\\\"transclusion\\\" value=<<qualify \\\"$:/state/popup/tag\\\">> >\\n<$button class=\\\"tc-btn-invisible sl-keywords\\\" popup=<<transclusion>> >\\n<$text text=<<currentTiddler>>/>\\n</$button>\\n<$reveal state=<<transclusion>> type=\\\"popup\\\" position=\\\"below\\\" animate=\\\"yes\\\" class=\\\"tc-drop-down\\\">\\n<$link to=<<currentTiddler>> ><$text text=<<currentTiddler>>/></$link>\\n<hr>\\n<$macrocall $name=\\\"keywords-body\\\" kwd=<<currentTiddler>> />\\n</$reveal>\\n</$set>\\n\\n\",\n            \"bag\": \"default\",\n            \"revision\": \"0\",\n            \"type\": \"text/vnd.tiddlywiki\",\n            \"title\": \"$:/ak/plugins/TWCrossLinks/ui/footer.kwd.template\",\n            \"modified\": \"20200502091004582\"\n        },\n        \"$:/ak/plugins/TWCrossLinks/ui/tabs\": {\n            \"created\": \"20200429182054776\",\n            \"text\": \"<$list filter=\\\"[[$:/ak/plugins/TWCrossLinks/config/default]getindex[DefaultTab]]\\\" variable=DefaultTab>\\n<$macrocall $name=\\\"tabs\\\" tabsList=\\\"[all[shadows+tiddlers]tag[$:/tags/TWCrossLinks]!has[draft.of]]\\\" default=<<DefaultTab>> />\\n</$list>\\n\",\n            \"bag\": \"default\",\n            \"revision\": \"0\",\n            \"type\": \"text/vnd.tiddlywiki\",\n            \"title\": \"$:/ak/plugins/TWCrossLinks/ui/tabs\",\n            \"tags\": \"\",\n            \"modified\": \"20200503114538223\"\n        },\n        \"$:/ak/plugins/TWCrossLinks/change.log\": {\n            \"created\": \"20200502091404523\",\n            \"text\": \"''2020-05-05'': v0.1.2\\n\\n* Added counter showing the number of inbound links\\n* Fixed bug in Freelinks\\n* Saved some screen real-estate in the footer \\n* added the possibility to remove the toggle and show the tabs by default saving even more screen estate try it \\n**<$checkbox tiddler=\\\"$:/ak/plugins/TWCrossLinks/config/default\\\" index=\\\"HideInboundTitle\\\" checked=\\\"true\\\" unchecked=\\\"false\\\" default=\\\"false\\\"> ''Hide Inbound Links Title & display references''</$checkbox>\\n\\n''2020-05-05'': v0.1.0\\n\\n* Inbound links for \\\"//Backlinks//\\\" and \\\"//Freelinks//\\\" can now be transcluded in a pop-up, try it by enabling this feature from the [[TWCrosslinks|$:/ak/plugins/TWCrossLinks]] config panel\\n\\n\\n''2020-05-03'': v0.0.7\\n\\n* Added configuration panel, can be found at $:/ak/plugins/TWCrossLinks\\n** You can now set the Default state of the \\\"inbound links\\\" {Shown / Hidden}\\n** You can now set the Default \\\"inbound links\\\" tab\\n\\n''2020-05-02'': v0.0.3\\n\\n* Initial packaging and release\",\n            \"bag\": \"default\",\n            \"revision\": \"0\",\n            \"type\": \"text/vnd.tiddlywiki\",\n            \"title\": \"$:/ak/plugins/TWCrossLinks/change.log\",\n            \"tags\": \"\",\n            \"modified\": \"20200508050959000\"\n        },\n        \"$:/ak/plugins/TWCrossLinks/config\": {\n            \"created\": \"20200503100751953\",\n            \"text\": \"''By default the //inbound links// should be:'' <br />\\n<$tiddler tiddler=\\\"$:/ak/plugins/TWCrossLinks/config/default\\\">\\n<$radio index=\\\"DefaultFoldData\\\" value=\\\"show\\\"> Shown </$radio>\\n<$radio index=\\\"DefaultFoldData\\\" value=\\\"hide\\\"> Hidden </$radio>\\n</$tiddler>\\n\\n''Select which Tab you want to be open by Default'' <br />\\n<$tiddler tiddler=\\\"$:/ak/plugins/TWCrossLinks/config/default\\\">\\n<$radio index=\\\"DefaultTab\\\" value=\\\"$:/ak/plugins/TWCrossLinks/core/backlinks\\\"> Backlinks </$radio>\\n<$radio index=\\\"DefaultTab\\\" value=\\\"$:/ak/plugins/TWCrossLinks/core/freelinks\\\"> Freelinks </$radio>\\n<$radio index=\\\"DefaultTab\\\" value=\\\"$:/ak/plugins/TWCrossLinks/core/keywords\\\"> Keywords </$radio>\\n<$radio index=\\\"DefaultTab\\\" value=\\\"$:/ak/plugins/TWCrossLinks/core/tagging\\\"> Tagged </$radio>\\n</$tiddler>\\n\\n<$checkbox tiddler=\\\"$:/ak/plugins/TWCrossLinks/config/default\\\" index=\\\"TranscludeInboundLinks\\\" checked=\\\"true\\\" unchecked=\\\"false\\\" default=\\\"false\\\"> ''Transclude //Backlinks// & //Freelinks// on hover''</$checkbox>\\n\\n<$checkbox tiddler=\\\"$:/ak/plugins/TWCrossLinks/config/default\\\" index=\\\"HideInboundTitle\\\" checked=\\\"true\\\" unchecked=\\\"false\\\" default=\\\"false\\\"> ''Make inbound links permanent (removes toggle option)''</$checkbox>\",\n            \"bag\": \"default\",\n            \"revision\": \"0\",\n            \"type\": \"text/vnd.tiddlywiki\",\n            \"title\": \"$:/ak/plugins/TWCrossLinks/config\",\n            \"modified\": \"20200508050348316\"\n        },\n        \"$:/ak/plugins/TWCrossLinks/readme\": {\n            \"created\": \"20200503110056664\",\n            \"text\": \"For feedback / suggestions / help please visit plugin page on [[Google Groups|https://groups.google.com/forum/#!topic/tiddlywiki/9ra0s9AEKl4]] or [[Github|https://github.com/akhater/TWCrossLinks]]\",\n            \"tags\": \"\",\n            \"title\": \"$:/ak/plugins/TWCrossLinks/readme\",\n            \"modified\": \"20200503110556549\"\n        },\n        \"$:/ak/plugins/TWCrossLinks/daniello/context.js\": {\n            \"created\": \"20140418153435777\",\n            \"text\": \"/*\\\\\\\\\\ntitle: $:/core/modules/widgets/danielo/context-widget.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nEdit-text widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\nvar contextWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\ncontextWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\ncontextWidget.prototype.render = function(parent,nextSibling) {\\n   // Save the parent dom node\\n\\tthis.parentDomNode = parent;\\n\\t// Compute our attributes\\n\\tthis.computeAttributes();\\n\\t// Execute our logic\\n\\tthis.execute();\\n    \\n  if(this.term && this.term.length>3){\\n     \\n      this.createRegexp();\\n      var matches = this.executeRegexp();\\n\\t  if(matches.length > 0){ \\n        this.domNode = this.document.createElement(this.element);\\n        this.domNode.className=\\\"tw-context\\\";\\n        this.composeResults( matches ); //this appends to domNode        \\n      \\t// Insert element\\n      \\tparent.insertBefore(this.domNode,nextSibling);\\n      \\tthis.renderChildren(this.domNode,null);\\n\\t  \\tthis.domNodes.push(this.domNode);\\n      }\\n  }\\n\\t\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\ncontextWidget.prototype.execute = function() {\\n\\t// Get the parameters from the attributes\\n    this.matchedClass = this.getAttribute(\\\"matchClass\\\",\\\"matched\\\");\\n\\tthis.tiddler = this.getAttribute( \\\"tiddler\\\",this.getVariable(\\\"currentTiddler\\\") );\\n    this.term =  this.getAttribute(\\\"term\\\",this.getAttribute(\\\"searchTerm\\\"));\\n\\tthis.contextLength = this.getAttribute(\\\"length\\\",50);\\n    this.before = this.getAttribute(\\\"before\\\",this.contextLength);\\n    this.after = this.getAttribute(\\\"after\\\",this.contextLength);\\n    this.maxMatches = this.getAttribute(\\\"maxMatches\\\",10);\\n    this.element = this.getAttribute(\\\"element\\\",\\\"pre\\\");\\n\\tthis.makeChildWidgets();\\n};\\n\\n  /*Create the regular expression*/\\ncontextWidget.prototype.createRegexp = function()\\n{\\n  var regString = \\\"(\\\\\\\\w+[\\\\\\\\s\\\\\\\\S]{0,#before#})?(#term#)([\\\\\\\\s\\\\\\\\S]{0,#after#}\\\\\\\\w+)?\\\";\\n\\n  var regString = regString.replace(\\\"#before#\\\",this.before).replace(\\\"#term#\\\", $tw.utils.escapeRegExp(this.term) ) .replace(\\\"#after#\\\",this.after);\\n  this.regexp = new RegExp(regString,\\\"ig\\\");\\n  //console.log(regString);\\n};\\n/*\\nexecute the regular expresion\\n*/\\ncontextWidget.prototype.executeRegexp = function()\\n{\\n  var text = this.wiki.getTiddlerText(this.tiddler), match,results = new Array();\\n  while( (match = this.regexp.exec( text ) ) && (results.length < this.maxMatches) )\\n      { results.push(match) }\\n  //console.log(\\\"matches\\\",results);\\n  return results;\\n};\\n\\n/*\\ncompose the results\\nmatches : array of match objects from regular expression execute\\n*/\\ncontextWidget.prototype.composeResults = function(matches){\\n var result=[], self=this, node = this.domNode,\\n dots = textNode(\\\"...\\\\n\\\"),\\n span = matchedNode( this.term );\\n\\n  for(var i=0; i < matches.length; i++){\\n   processMatch( matches[i] );\\n }\\n  \\n  function processMatch(match){\\n    if( match.index !== 0) node.appendChild( dots.cloneNode(true) );\\n    for( var i=1;i<match.length;i++ ) {//match[0] full matched text (all groups together)\\n      if( match[i] ) {\\n        if ( match[i].toLowerCase() == self.term.toLowerCase() ) \\n          node.appendChild( match[i] == self.term ? span.cloneNode(true) : matchedNode( match[i] ) )\\n          else\\n            node.appendChild( textNode( match[i]) )\\n      }\\n    }\\n    if( match.index + match[0].length < match.input.length) node.appendChild( dots.cloneNode(true) );\\n  }\\n  \\n  function textNode(text){ return self.document.createTextNode(text) }\\n  function matchedNode(text) { \\n    var node = self.document.createElement(\\\"span\\\"); node.appendChild( textNode(text) );  node.className = self.matchedClass;\\n    return node }\\n  \\n};\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\ncontextWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.tiddler || changedAttributes.term || changedAttributes.length || changedAttributes.matchedClass) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n    return this.refreshChildren(changedTiddlers);\\n};\\n\\nexports.context = contextWidget;\\n\\n})();\",\n            \"bag\": \"default\",\n            \"revision\": \"1\",\n            \"type\": \"application/javascript\",\n            \"title\": \"$:/ak/plugins/TWCrossLinks/daniello/context.js\",\n            \"module-type\": \"widget\",\n            \"modifier\": \"danielo\",\n            \"modified\": \"20200504180206365\",\n            \"creator\": \"danielo\"\n        },\n        \"$:/ak/plugins/TWCrossLinks/ui/context.css\": {\n            \"created\": \"20140529162823729\",\n            \"text\": \".matched {background-color:#faed27; color:black;}\\n\\n\\n.tw-context {\\n    display: block;\\n    padding: 10px 20px;\\n    margin-top: 1em;\\n    margin-bottom: 1em;\\n    word-break: normal;\\n    word-wrap: break-word;\\n    white-space: pre;\\n    white-space: pre-wrap;\\n    background-color: #eee;\\n    border: 1px solid #cccccc;\\n    border-radius: 3px;\\n}\\n\\n.tc-menu-list-item .trans-container {\\n   padding-left: 5px;\\n}\",\n            \"bag\": \"default\",\n            \"revision\": \"1\",\n            \"type\": \"text/css\",\n            \"title\": \"$:/ak/plugins/TWCrossLinks/ui/context.css\",\n            \"tags\": \"$:/tags/Stylesheet\",\n            \"modified\": \"20200505061619315\"\n        },\n        \"$:/ak/plugins/TWCrossLinks/ui/transclude.css\": {\n            \"created\": \"20200505112617003\",\n            \"text\": \".trans-container {\\n  position: relative;\\n  display: inline-block;\\n}\\n\\n.trans-container .trans-content {\\n  visibility: hidden;\\n  overflow: hidden;\\n  margin-top: -2em;\\n  padding: 5px;\\n  display: block;\\n  \\n  /* Position the tooltip */\\n  position: absolute;\\n  z-index: 80;\\n  \\n  /*  \\n  top: 20px;\\n  left: 20px;  */\\n\\n  float: right;  \\n  opacity: 0;\\n  transition: opacity 0.3s; \\n}\\n\\n.trans-container .trans-content::after {\\n  position: relative;\\n  overflow: hidden;\\n  margin: 0;\\n  padding: 0;\\n  border: 1px;\\n}\\n\\n.trans-content {\\n   width: 90vw;\\n   max-width: 32em;\\n}\\n\\n\\n.trans-container:hover > .trans-content {\\n  margin-top:-5px;\\n  visibility: visible;\\n  opacity: 1;\\n  transition: 0.25s all ease;\\n  transition-delay: 0.75s;\\n}\",\n            \"tags\": \"$:/tags/Stylesheet\",\n            \"title\": \"$:/ak/plugins/TWCrossLinks/ui/transclude.css\",\n            \"modified\": \"20200505112651001\",\n            \"type\": \"text/css\"\n        }\n    }\n}","bag":"default","revision":"1","version":"0.1.2","type":"application/json","title":"$:/ak/plugins/TWCrossLinks","tags":"","plugin-type":"plugin","name":"TWCrossLinks","modified":"20200508051024128","list":"config readme change.log","description":"Discover all your intra tiddlers links","created":"20200502092707287"}]
\ No newline at end of file