Does atom.io have a read-only mode? - atom-editor

I am reading a project and would like to set it to read mode. That is, not be able to edit the file. Is this possible? If so, how is it done?

This is not supported at the moment. Feel free to suggest it as a feature or think about adding this functionality as a package.
Source: https://discuss.atom.io/t/read-only-editor/11125

Related

Need a translation toolkit that supports msgctxt

Wordpress 3.1 came out recently with a lot of new features, and as I can see, there's a big change in support for translation. The context feature of GNU Gettext (msgctxt) is now used a lot in Wordpress's code, some e() and _() are replaced by _x() and _ex(). And... it's causing a problem for me.
I'm using PoEdit to edit the translation for Wordpress, but currently it doesn't support msgctxt. I know how to manually edit the .po file to translate a string that uses msgctxt, but it's a hard work. And, the bigger problem is that when I use PoEdit's Update button, all my hard works... go away, the things that I changed by manually editing the .po file go away!
So now, I come here to ask you, do you know any translation toolkit (like PoEdit) that supports GNU gettext's msgctxt? Please tell me, thanks a lot for your help :D
Great news: PoEdit 1.5.5 now supports msgctxt! The key thing to get right is the keyword sources configuration within your Catalog properties. For _x and _ex it should look like: "_x:1,2c" and "_ex:1,2c". Covered in more detail here: http://wp.tutsplus.com/tutorials/theme-development/translating-your-theme/
you can use PoEditor.com it supports the msgctxt!
Regards
I realize this is a year-old question, but have you tried Automattic's own GlotPress?
It's still a work in progress, and you have to install it from the Subversion repository, but it does support translation contexts and it allows collaboration.

Is it possible to embed Qt Assistant as a widget inside my application?

We're running one of our apps on a 8" touch screen and want to add help to it.
Launching Qt Assistant from a menu item works fine for desktop applications, but for touch applications it's far from ideal.
I haven't been able to figure out if it is possible, or permitted to do so?
QAssistant.exe itself seems to come with some license restrictions, but maybe there's another way to do this, like embedding a small web-browser or something.
Have anyone else tackled this, or something similar?
Check out how QtCreator does this, they have integrated QtHelp which looks exactly like what you're trying to do. The library they use for that is the QtHelp module (I think).
You should check the documentation for QHelpEngine and QHelpContentWidget. I think that these classes will meet your needs.
Another way would be to actually see how Qt Assistant is implemented, by looking at the source.

Is there any online text editor for HTML, CSS with saving and syntax highlighting facility?

I want to make css file from accessible from everywhere (home, office etc) and ready to edit.
and save.
I will do hand coding ,just want syntax highlighting and saving on net facility.
I tried google docs (it's good because i can save online and it has revision history feature too which is useful) but it doesn't have syntax highlighting and also tried http://www.amyeditor.com/ it's same as i want but it save file on our local pc.
and i usually use jsbin.com but i heard it will delete the code if nothing will happen to code in 3 month.
Update:
In nutshell I'm looking for online editor like Dreamweaver source view. with code hosting too.
Update 2
i found it useful but , no facility for saving.
http://marijn.haverbeke.nl/codemirror/csstest.html
https://bespin.mozilla.com/
Bespin is a mozilla project with a lot of potential. I couldn't recommend it more highly.
See following
http://snipplr.com
http://gist.github.com/
See here if you could get any solution.
If you don't like then use a blog with syntaxhighlighter.
Dabblet is pretty impressive !
Saves to github gists. For more info look at the help/about page
You could just use wordpad witch comes with windows, and then you could upload it to a server such as Dropbox. Simples.(Make sure you put .css at the end of the filename).

How does software like hide folders or truecrypt work?

I am particularly interested in a how hide folders work or how can it be achieved programatically (.net). How can I create a folder such a way that
its hidden
Does not appear in search (even if hidden folders are opted)
No files system structure modifications are required
How are folders encrypted. Any links or advices would be great. Thanks in advance.
I know you can hide drives using a registry setting:
http://www.pctools.com/guides/registry/detail/148/
but this will not create the invisibility in searches that you want. I know this doesn't really answer your question. However, if nothing else, hopefully it will keep others from going down that road... =p
On the other hand, Truecrypt is open source. I haven't had an interest in this subject myself, so I don't know how it works (beyond the fact that it uses a special storage driver in Windows), but you can check it out for yourself here:
http://www.truecrypt.org/downloads2.php
I expect it's a device driver (maybe a filter driver to the file system).
Without writing a device driver, the easiest way is to use one of the (apparently many) 3rd-party add-ons which implement this functionality.

Syntax Highlighting library in ActionScript

I let user enter some code in my Flex3 (Flash 10) app and I want to do syntax highlighting.
Is there any open-source library that would help me?
I'll need a Lua syntax support, but I can add it myself if library has a resonable interface to do this.
Update on 21 Jan, 2009:
Check out Anirudh's port of google-code-prettify to ActionScript3, it has a very good example app as well.
I guess this wasn't even feasible till now.
With the new Flash Text Engine, maybe such text-based features will start showing up, and hopefully open source libraries that work like the FlashEff library.
I also wanted to do syntax highlighting, I found a example which works
http://labs.searchcoders.com/text/
You will need to take their actionscript code and when people change the text in your text area then you will need to re-draw the syntax highlighting.
Basically I am doing this as I'm making my own IDE/Language in FLEX.
Try this: http://www.flashtexteditor.com/ftf/
or this:
http://www.matthijskamstra.nl/blog/index.php/2008/06/04/actionscript-syntax-highlighting/

Resources