Warning: session_start(): open(/var/lib/php/sessions/sess_r2ik9intko0ddkorhum4n11sg2, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
svoid g22_adaptSyntaxTextAreaForHashRefs(RSyntaxTextArea ta, G22Utils g22utils) {
onLeftClick(ta, (IVF1) pt -> {
int ofs = ta.viewToModel2D(toPoint(pt));
LS tok = hashRefTok(ta.getText());
int iTok = charToTokenIndex_left(tok, ofs);
if (odd(iTok) && inRange(iTok, tok)) {
S t = tok.get(iTok);
S url = deRoundBracket(dropPrefix("#", t));
g22utils.projectActions.openPathInProject(url);
//infoBox("Link URL: " + url);
}
});
((RSyntaxDocument) ta.getDocument()).setSyntaxStyle(new HashRefTokenMaker);
// Set the token types we use to black
for (token : ll(Token.WHITESPACE, Token.IDENTIFIER))
ta.getSyntaxScheme().setStyle(token, new Style(Color.black));
}