How do I incremental search in Atom Editor? - atom-editor

How can I do an incremental search (similar to Sublime Text's Cmd-F or Cmd-I) in GitHub's Atom Editor?

find-and-replace is one of the core Atom packages. You can enable incremental search by updating the settings for this package. Check the option "Scroll To Result On Live-Search" and optionally change the Live Search Minimum Characters (defaults to 3).

There's an incremental search package available now: https://atom.io/packages/incremental-search
It seems to be modeled after incremental search in Emacs.

Related

How to take user Input in Atom Editor?

I just moved from Sublime text to Atom. I am using Java for source code and Script Package to run the code. I am unable to take input from User. Is there a possible way to do that?
Atom is generally a text editor. It does not support build and execution of code.
For taking user input you can try the platformio-ide-terminal package.
Install 'atom-python-run' if your code is for python.
And press F5 to take input after you installed the package.

Aptana 3.4.2 auto-close matching character pairs and keyboard shortcut

In aptana we have feature called auto-close matching character pairs, which automatic close brackets, quotas, etc. And there is tick in preferences -> aptana studio 3 -> editors:
auto-close matching character pairs for swich on/off this feature.
I changed computer to new one, downloaded and installed new aptana and found it very hard to switch this feature. tick on/off does not take a effect any more.
is there any reason meke this feature not work on fresh system?
Also, key shortcut right alt + up/down arrow (duplicate line) does not work, but in key assist it is displayed.
can anyone give me any sugestion what can I check to make auto-close matching character pairs feature and shortcut work?
Problem solved: Solution for this problem was uninstall aptana and install netbeans instead.

How to set the value of the catalog's index SearchableText for an object

Is there a programmatic way in which I can set the value of the catalog index SearchableText for an specific object?
I'm using wsapi4plone to upload files to plone, but it has a bug (already reported) and it doesn't set catalog's SearchableText. I would like to be able to set it myself. I tried reindexObject() but it didn't worked.
File object contents need to be transformable; the portal_transforms tool needs to be able to produce text from their binary contents.
For PDF files, for example, the pdf_to_text transform either uses the poppler or the xpdf command-line tools to extract text from the document to index. Word documents require the wv package, etc.
You need to make sure the right tools are installed for your platform for these transforms to work.
These older knowledgebase articles still apply to Plone 4:
Enable full-text indexing of Word documents and PDFs in Plone 3.0 (GNU/Linux)
Enable full-text indexing of Word documents and PDFs in Plone 3.0 (Windows)

How to setup R with LyX?

I wish to setup R with LyX. Going through the web I found many resources.
The "official" text doesn't seem to be the most up to date: http://wiki.lyx.org/LyX/LyxWithRThroughSweave
I followed most of the steps here: http://wiki.lyx.org/uploads/LaTeX/SweaveR/lyx_with_r_and_sweave_instructions.pdf
But was it really needed? Or is LyX 2.x makes some of them obsolete?
From reading this post: http://yihui.name/en/2011/05/sweave-and-pgfsweave-in-lyx-2-0-x-experimental/
I was not so sure anymore.
So my question is - what is the most up to date explanation on how to set up and use LyX with R?
Also - what editor do you find it useful to work with in combination with LyX?
Thanks.
I use LyX 2.0 with Sweave and pgfSweave on a daily basis. LyX 2.0 comes loaded with a module called Sweave which immediately allows you to use Sweave in your documents. If you plan to use pgfSweave, you need to (a) download the pgfSweave module and (b) install some converters. Details are available in the third link you indicated.
Hope this helps.

Where can one find source archives of old SQLite versions?

The downloads page on www.sqlite.org appears to only have links to the current version, and I would like to get a previous version. I cannot see any obvious links to historical versions on the site and (unless I'm missing something obvious) there does not appear to be a sourceforge project.
Can someone point me at an archive of old SQLite source releases if such a thing exists?
Nigel.
I found this in their old message list archives. Hopefully this helps:
Older version of SQLite are aviable
from the website, but there are no
direct links on the web pages. You
need to manually edit the links to
get the file you need.
The 2.1 version of the database file
implies that it was created with a
2.X.Y version of SQLite. You should get the latest version which is
2.8.17 (I believe).
If you go the download page
http://www.sqlite.org/download.html
and the right click on the link to
download the latest Windows binary
file, then
select Copy Link Location (at least
using Firefox, in IE the command is
Copy Shortcut). Now open a new tab or
window and paste the link into the
address bar. You can edit the link and
replace the version number with the
version you want to download. In your
case you need to change
http://www.sqlite.org/sqlitedll-3_5_6.zip
to
http://www.sqlite.org/sqlitedll-2_8_17.zip
and then press enter to start
I know this question is kind of old but there's an easier way to get the URL to the older zip files.
Using a combination of answers here, you can calculate the download URL of the zip file for the specific version you want.
Determine the version number you want to get (we'll use 3.8.7.4 as an example)
Look on the timeline (http://www.sqlite.org/src/timeline?t=release) to figure out the year in which your desired version was released (3.8.7.4 was released in 2014)
Normalize the version number into exactly 7 digits. Expand each piece into 2 digits with leading zeroes except for the initial 3 which should remain 1 digit. For example 3.8.7.4 becomes 3080704. 3.13.0 becomes 3130000. (If there is no 4th period delimited piece, use 00)
Using your normalized version number, plug it into one of these formats, depending on what you're looking for (Replace the text '7DIGITS' in the urls below with your normalized version number, replace the text YEAR with the year in which the version was released
Source: http://www.sqlite.org/YEAR/sqlite-src-7DIGITS.zip
Amalgamated: http://www.sqlite.org/YEAR/sqlite-amalgamation-7DIGITS.zip
So our example versions become
http://www.sqlite.org/2014/sqlite-src-3080704.zip and http://www.sqlite.org/2014/sqlite-amalgamation-3080704.zip
I haven't tried this for every version but my 3 test versions worked. I would imagine the other download types (like precompiled binaries, documentation, etc) work as well.
Direct Access To The Sources
Also, if you want to compile yourself. Access to all SQLite source code is maintained in a CVS repository that is available for read-only access by anyone. You can interactively view the repository contents and download individual files by visiting this link
Also
www.sqlite.org/src/timeline?t=release will show when every sqlite version was released.
Checkout from cvs from the date you want and compile. Instruction how to checkout from cvs are here
Note: Use the -D option to checkout by date
The idea from TomWitt2 is fantastic (I had spent hours to find solution) but now the links seems to be have modified so follow below steps to get your archived version:
Get the latest version link from the download page here http://www.sqlite.org/download.html
Get your normalized 7 digit number as mentioned in answer by TomWitt2
Just replace the number in the link and you are ready to go
I've tried a few solutions on this page and elsewhere, all that I've seen seem outdated and no longer work. I've done the steps below as of 5/4/2016 with success.
Go to http://system.data.sqlite.org/index.html/finfo?name=www/downloads.wiki to view the history of the SQLite downloads wiki.
Search (ctrl+f) for the version you want (ex. 1.0.91.0)
Select the commit ID and it will open that old version of the page complete with download links to source code as well as precompiled binaries and setups.
You won't always find the version in a search (ex. 1.0.98.0), but it should be reasonably easy to find the correct page by the surrounding versions/commits.
You can also check archive.org for the downloads page:
http://web.archive.org/web/20150101000000*/http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki
Find the date that your desired version was released on from the SQLite news page (you may need to pick the next archive date after that). Select your desired link (sometimes the download page was archived, more ofter it seems like it was not). If the download page was not archived, edit the address bar to remove the archive.org-related info and you should be able to navigate directly to the SQLite download page for that version.
Follow this link to the official website and under "3.0 Obtaining Code Directly From the Version Control System" you can read further directions:
get the list of release check-ins (this link)
choose the required check-in
download source code archive
The oldest release available now is from
2007-08-13.
You are correct to point out that https://www.sqlite.org/download.html only links to the most recent release, but a page always linking the current release combined with Wayback Machine preserving every (well, hopefully) version of said page, is all you need to download your favorite release:
http://web.archive.org/web/*/https://www.sqlite.org/download.html
Given that the binaries themselves have not been removed, of course, but fortunately they seem intact to me.
In fact, I just downloaded SQLite 3.9.2 through this page:
http://web.archive.org/web/20151231190003/https://www.sqlite.org/download.html
You can get all release of SQLite from https://www.sqlite.org/chronology.html, this page contains the history of SQLite releases

Resources