Benoit Zohar

You Are Viewing

A Blog Post

Titanium’s “Copy” function (CMD+C) is not working

I’ve been pissed off by this for a while now : the basic copy function in Titanium Studio (as in : I select some text and I’d like to CMD+C it !) is just not working 1 out of 3 times.

How to fix it ?

To fix this on the Studio build 2.1.2, just go to it’s preferences panel and find the keyboard shortcuts.

Tip : use the text filter at the top left of the preferences window and type "short" (for "shortcut"). You'll see the "Keys" menu showing up.

Their you’ll just have to remove the custom-made CMD+C shortcut for the “Copy” function.

Apply.

Press Ok.

Everything is working fine now !

What just happend ?

Disabling the keyboard shortcut is releasing the CMD+C action to the system. So, now, your OS is putting the text you selected in the system’s clipboard.

Since the “paste” (CMD+V) function is working well, your text will be duplicated as expected.

Note :

This might just work as well with Windows Titanium Studio.

Leave a Reply

It's a small

Blog

Handle json_decode() errors

  • October 18, 2012
  • By
  • In PHP
  • No Comments

When you use the json_encode() function to parse a JSON file using PHP, do not expect to handle any Exception or to get any information if the parsing failed. In order to handle errors, you will have to call json_last_error() if the result of json_encode() is NULL. NULL means that the data could not be […]

Transactions with MySQL

While trying to rollback transactions on a MySQL database today I’ve been experiencing some weird, unexpected issues. Inserted data was still inserted in some of my tables but not in other tables. SQL Transactions : START TRANSACTION; INSERT …. // insert some data UPDATE …. // update some data COMMIT; // all the data is […]

I’m a Certified Titanium App Developer

I’ve been working on iOS and Android apps for a year now. So I decided to take my coding to the next step and become a certified developer. I took the online exam totally unprepared , “just to see” what was it all about. And I passed it ! 77/100 is not such a good […]

Fresh start

I did it ! I finally got rid of my old smelly blog. Turn to the future instead of the past, get a new start. So, why am I writing this in english event though I’m french ? Well, I decided, with this new blog, to concentrate more on my passion for code and less […]