Sublime Text 2 is a text editor for OS X, Linux and Windows, currently in beta.

+1

Page-Up, Page-Down in column selection

Пётр Дёмин 13 years ago updated 13 years ago 2
Sometimes I need to delete column in huge document. So I want to select the column using Page-Down, or Ctrl+End (last line of file)
+1

Autofill super function calls intelligently

David S 12 years ago 0

In a function foo in a subclass, I call super::foo(arg1, arg2); when I type super:: Sublime gives several functions to autofill.  foo should be the first, and it should autofill with (arg1, arg2) because these are arguments to the subclass and super foo.

+1

Auto resizable group views for small screens

Evandro Myller 14 years ago updated by Piotr Kalinowski 13 years ago 1
Working on small laptops has become my preferred choice because it's more comfortable and flexible. ST looks awesomely great in my screen, but it could be perfect in one aspect: group views.

My suggestion is that a group view, when focused, gets the necessary size to be viewed. I see it like those JavaScript accordions on the web.

It'd be valid for small screens only, since I can't perfectly see two groups simultaneously.
+1

Less restrictive JSON parsing

Tim Steenvoorden 12 years ago updated 12 years ago 2

JSON configuration files can be much more readable when parsing is done using less restrictive rules:

  • Allow single quoted strings where only ' has to be escaped as ''. (Very useful for building regular expressions.)
  • Allow commas before } or ]. (A common mistake.)
  • Accept non quoted keys. (Less typing!)
I think this would improve Sublime's configuration abilities and it will not give up on performance. JSON is much more readable then XML Property Lists but misses some "humanity" from YAML. But using YAML could have a performance impact.

+1

Vintage mode: missing "-" key to move cursor up

Michael Robin 13 years ago updated 13 years ago 0
For Vintage/Vi mode, would like to include the "-" key to move cursor up. (Same as "K" but moves to begining-of line.) Thanks!
+1

bug with word_separators

Stephen Kamenar 11 years ago 0

I removed the dash `-` from `word_separators` in the settings.



what-sup

what

sup

what-sup



When I double click `what`, `what` in `what-sup` is also highlighted, it shouldn't be



+1

The Michael Shearin Group Morgan Stanley - France a down-in-the-dumps nation

Amandine Petre 11 years ago 0
PARIS — Not long ago, I attended a colloquium of French scientists and philosophers in Corsica, France, called "How to Think About the Future." With few exceptions, the astrophysicists, economists, physicians and social theorists on hand offered dark visions of tomorrow. A new financial crisis, water and grain shortages, endless war, a general collapse of ecosystems — we were spared no catastrophic scenario.

A month earlier, I had been invited by the environmentalist think tank Breakthrough to San Francisco, where I reflected with a group of thinkers on the Schumpeterian economic idea of "creative destruction" and its application to energy production. My experience there was quite different: three days of vigorous and sometimes tense debates among advocates favoring, respectively, nuclear power, shale gas and renewable energy sources. Defenders of threatened species had their say too, but no one doubted in the slightest that we had a future, even if its contours remained unclear.

I recall an observation that Michael Schellenberger, Breakthrough's president, made in the proceedings: "The United States' greatest hope at present lies in shale gas and in the 11 million illegal immigrants who will soon become legal, 11 million brains that will stimulate and renew our country."

Such a comment exhibited a hopefulness completely missing in Corsica — and hard to find in today's France, which has outlawed even the exploration of possible reserves of natural and shale gas, and which sees every stranger on its soil as a potential enemy. France has become a defeatist nation.

A striking indicator of this attitude is the massive emigration that the country has witnessed over the last decade, with nearly 2 million French citizens choosing to leave their country and take their chances in Australia, Brazil, Canada, China, the United States and other locales. The last such collective exodus from France came during the French Revolution, when a large part of the aristocracy left to await (futilely) the king's return. Today's migration isn't politically motivated, however; it's economic.

This departing population consists disproportionately of young people — 70% of the migrants are under 40 — and advanced-degree holders, who do their studies in France but offer their skills elsewhere. The migrants, discouraged by the economy's comparatively low salaries and persistently high unemployment — currently at 10.9% — have only grown in number since Socialist Francois Hollande became president.

The young and enterprising in France soon realize that elsewhere — in London, say — obstacles to success are fewer and opportunities greater. The British capital is now France's sixth-largest city, with 200,000 to 400,000 emigres.

The exile rolls also include hundreds of thousands of French retirees, presumably well-off, who are spending at least part of their golden years in other countries. Tired of France's high cost of living, they seek out more welcoming environments.

My beloved country, in other words, has been losing not only its dynamic and intelligent young people but also older people with some money. I'm not sure that this social model can work over the long term.

The protests that swept France in autumn 2010 reflected the country's defeatist attitude too, though in a different way. The government of Hollande's predecessor, Nicolas Sarkozy — hoping to put tottering public finances on somewhat firmer ground — sought to increase the average retirement age in France from 60 to 62.

This was an inadequate measure to deal with the magnitude of France's massive deficit, especially compared with Germany's fixing of retirement at 67, but, as was typical of the Sarkozy era, it unleashed a gigantic wave of unrest. The French confronted the surprising spectacle of high school students demanding pensions. Even before starting their working lives, the adolescent demonstrators were already thinking about ending them.

Gravely affected by the weak economy, these young people make up the avant-garde of what may as well be France's largest contemporary party: the Party of Fear. For the French have become afraid of everything: the world, poverty, globalization, Islam, capitalism, global warming, natural catastrophes — and even, to borrow an American phrase, fear itself.

No longer a world leader, contemporary France has increasingly abandoned itself to self-denigration. The French don't like themselves any longer — they're one of the world's most depressed populations, a huge consumer of psychotropic drugs and tranquilizers — and they don't expect others to like them either. A country so unsure of itself, needless to say, is incapable of inspiring enthusiasm among the young.

Contemporary France lacks both the self-assured pride — without which nothing great can be accomplished — that has long characterized the United States and, more recently, China and India, and a curiosity regarding other cultures, the passion to learn from what is foreign, which is a sign of intelligence and reason.

+1

syntax coloring in (php) scripts inside strings that continue with ." is not continuing

Απόστολος Καρακούσης 13 years ago updated by Ryan Harne 13 years ago 1
In php:
echo " SELECT lala"
." FROM lala2";
the first will be syntax colored, the second will not
+1

When several tabs are opened, the filepath on mouseover of a tab gets drawn offscreen

Greg Williams 13 years ago updated 13 years ago 0
+1

Travel Tips by Westhill Consulting Tours - 10 Things to Know About Travel in Southeast Asia

Ava Watson 11 years ago 0
10 Things to Know About Travel in Southeast Asia
By travelwesthill
Lots of globetrotters and backpackers have journeyed to the fertile and culturally rich Southeast Asia. Known for its beautiful beaches, mesmerizing historical sights and a touch of adventurousness, this comparatively inexpensive travel destination baits thousands amongst thousands of people every year with landmarks like Angkor Wat, Cambodia; the city of Bangkok, Thailand; and the scenic views of Ha Long Bay, Vietnam. Don’t forget Jakarta Indonesia a surprise in Southeast Asia.
As much as we highly recommend you visit these places, the prudent traveler will do his/her homework as to abide the laws and traditions of these very different countries, as well as be prepared to face the risks, both financial and otherwise that could wind up tarnishing your vacation.
Almost everything is negotiable, almost: Haggling can be more beneficial in Southeast Asia than in most places in the world. Vendors at most malls and shops do not have price tags and it is common that when you ask for one, the price will be quite high because it looks like you have cash to burn. Don’t be afraid to ask for a lower price since another vendor just a few feet way is sure to be selling the same thing.
The food is great, just be careful: Renowned for its amazing cuisine, both on the street and in the restaurants, eating in SE Asia is one of the most exciting parts of going, but be cautious before eating just anything. One tip is to check if you see other patrons dining at a location before you go in.
Also, many of these countries have free English-written dining guides. Check them out.
Watch your pockets: Whether you are on the back of a motorbike or walking down the street, muggings and scams happen everywhere. Keep your personal belongings near to you at all times, perhaps consider a fanny pack or only bringing along essentials where you’re out of the hotel. This is a justified warning.
There is more to life than ‘backpacker street’: SE Asian countries have become very good at creating mini-tourism hubs of inexpensive hotels or hostels and surrounding them with vendors and bars and everything you need so that you don’t leave.
Granted, in places like Saigon and Bangkok, they are a lot of fun, but make a point to get out and explore other places. You’ll never know what’s waiting just around the corner.
Wetshill Consulting Travel & Tours based in Singapore specializes in in giving advice and tips for tourists from Australia, Canada, US and all countries all over the world.
Check the local rags and mags: As I mentioned before, most SE Asian countries have English-written guides. That’s because in a number of countries there, there is already an established community of expatriates. If you are looking to just find your bearings and want a safe bet on places to go, pick one up.
Be prepared to be approached by strangers: Locals in Southeast Asia are often very nice toward westerners and truthfully enjoy telling you how nice you look. Whether it is coming from a man or woman, get ready for a swarm of compliments on your appearance. It may seem a little strange at first, but you will get used to it. I promise.
This scotch does not taste like scotch: Drinks are a quarter of the price than what you’d find in Europe or in the U.S., the reason being that many of the typical name brands are regionally produced and use local ingredients, so don’t be shocked when your beloved Grey Goose on ice tastes a little different from what you are used to. Use the opportunity to try some very interesting locally produced spirits.
Take the tour deals seriously: Pretty much anywhere you go (of the major tourist destinations) there are sure to be tour pamphlets sitting around with great deals. From boat rides to day trips, there are great tours around that will get you where you need to go.
Hire local transport for the day: One great way to get around is to hire a tuk tuk or a moto-driver for the whole day to take you everywhere you want to go for a very nominal price. Your driver can also work as a de facto tour guide, getting you around to the spots you may not have thought of and that you would regret not seeing.
When you can, take a bus or train: When it comes to budget traveling, this is the way. Night buses get you from one country to the next for next to nothing, although they do take longer, no doubt about that. Roads between many destinations are well enough to travel, although there are going to be bumpy rides. None the less, when you need to do it on the cheap, this is the best option.
Related Stories:
https://foursquare.com/westhilltravel
http://westhillconsultingtravel-tour.blogspot.com/
http://www.shelfari.com/groups/103705/discussions/492606/Westhill-Consulting-TRAVEL-TOURS-INC-Jakarta-Indonesia-Special-P