I am trying to create a SWT Link with the text so it looks like the following
<this is the link>
where the text this is the link is the actual link and the angle brackets are not part of the link.
I can get close with the following code:
link.setText("<a><this is the link></a>");
However, I want just the text to be the link, and not include the < and >. I thought I could do it simply by doing:
link.setText("<<a>this is the link</a>>");
But when I do that - I lose the ending >. Can anyone think of how to get the > back (without it being part of the link?
What version of SWT are you testing with? When I run the first SWT sample snippet for Link, but replace the text with your sample
link.setText("<<a>this is the link</a>>");
then I see what I believe you want to see. This is with SWT 3.3.2.
This seems to do the trick:
link.setText("<<a>this is the link</a>> >");
Related
I want to add linkedin link in latex and I want it to show only my name and logo, not complete link. I am using this line of code.
\linkedin {https://www.linkedin.com}
It shows complete link https://www.linkedin.com in pdf also my username is very large and it look odd in pdf. SO I want to show my name instead. I tried googling but didn't find any solution in this reference.
There are two approaches to solving your problem:
Approach #1: use altacv.cls from git
Then you need to do the following 2 things:
in the altacv.cls file: find linkin, then include your linkedin link in the [https://]
in your.tex file: do "\linkedin{your name here}"
or
Approach #2: write your own
in your.cls file include this line: "\newcommand{linkedin[2]{\infofield{\faLinkedin}{\href{#2}{#1}}}"
--please note this assumes you have inlcuded the href package and fontawesome5 --
in your.tex file: do "\linkedin{your name here}{https to your linkedin profile}
Hope this helps
Greeting. I am using Notepad++ and i am trying to find tag wrapper for example i have a code
<p>My Name is Pakhpalay Zamborday</p>
now i want to know is there any wrapper plugin or short key in notepad++ that wrap or surround the tags as per my requirement like i select above mention code and press that short key and next action ask me for tags with i want to wrap selected code. like i put article tag and press enter and the result will be
<article><p>My Name is Pakhpalay Zamborday</p></article>
Please help me
You can use snippetPlus plugin for this purpose. here the link and installation guide link:
installation and usage guide link
I have been pulling my hair out trying to finds a solution to this problem.
I start typing <a then press ctrl-enter to open up the available snippets.
I would then be provided with just a list of tags (with the red V icon at the left), I was expecting to see a list of snippets (green right pointing arrow) that could be selected and would auto complete the tag and closing tag.
The same functionality as seen on this blog post (HTML Paragraph) http://blog.atom.io/2015/05/15/new-autocomplete.html
It is my understanding that autocomplete-plus has snippets from autocomplete-HTML, auto-complete-CSS, autocomplete-atom-API, and autocomplete-snippets. And that these are all now bundled by default into the atom.
I have read many blogs and GitHub issues trying to find a solution and none have worked. my snippets.cson is empty (Ignoring comments)and it is my understanding that they are for custom snippets. I do not want custom snippets at the moment, I just want the defaults which are advertised on the autocomplete plus docs
Has anybody else had this issue or would know solutions?
Each Atom snipped has a specific prefix, in case of the <a> tag it is just a (without the < character), so typing atab pastes the snippet body tag.
In org-mode, I have defined a figure+caption like this:
#+CAPTION: My great figure
#+LABEL: fig:myfigure
[[myfigure.png]]
How do I write "See figure [myfigure]"? I've found the following syntax:
See figure \ref{fig:myfigure}
but this looks ugly in the source file. In particular, you cannot use it for actually jumping to the figure.
You actually don't need '#+NAME', it works fine if you use '#+LABEL', which won't break your short-caption for list of figures.
Orgmode does now offer a 'jumpable', enumerated or link with name of your choice in the exported (latex, html) text if you link with:
see figure [[fig:myfigure]].
or
see figure [[fig:myfigure][figurenameintext]].
I would have added this as a comment, but I don't have the reputation yet.
--
In response to your comment (still can't comment): you do need the '#+NAME' for it to jump within the .org source file; as mentioned in the manual, and i also just confirmed that works. Not sure about the short-captions in the latest version.
With a very recent org-mode, you can use #+name:, see:
http://thread.gmane.org/gmane.emacs.orgmode/62644/focus=62646
#+CAPTION: My great figure
#+LABEL: fig:myfigure
#+name: fig:myfigure
[[test.png]]
See figure [[fig:myfigure][test]].
This works for me to jump from the link , but has no effect when exporting, I'm afraid...
Currently, I'm using the gem "acts_as_taggable_on_steroids".
Everything working fine. Now I'd like to add tokeninput to this "tag input box"
All the tags existing should be displayed here as candidate tag. when the user input 1st word.
and those tags have to be delimited by " "(space)
How can I make both "acts_as_taggable_on_steroids" and token input working??
Any good instruction to archive these?
You can use RailsCast #258.
It's useful, fast and easy to implement.
I have resolved one issue which is adding new tag using the things given in this url
https://github.com/Mean-CJ/jquery-tokeninput/commit/ecb8b04df6df21b1a892187a5bcf94ff7b8d15d1
Which are commenting
//$(this).val("");
// Adding these two lines
newToken = {'id':$(this).val(),'name':$(this).val()};
add_token(newToken);
In the else part of
case KEY.COMMA:
In the js file