editing

edit commandline with $EDITOR in tcsh

Today's Daily Vim says this: Assuming you're using the bash shell, the following can be helpful when composing long command lines. Start typing on the command line and then type Ctrl-x Ctrl-e, it should drop you into your system's default editor (hopefully Vim) and allow you to edit the command line from there. Once finished, sa...

Real-time collaborative editing

I work with another coder most of the time on projects and would love an application that lets us work on the same file and see the other person's edits in real-time. He uses OSX and I'm on Vista. I am wondering if there are any server-side applications that can do this, that I could put on my server, and would be accessible through a b...

Is there something like Emacs' toggle-read-only in Visual Studio?

The subject says it all. Is there an easy way to toggle the editability of a buffer in Visual Studio? This would be similar to the toggle-read-only command in Emacs. I am not looking to change the file attribute ... just whether I can edit the file while it is open in Visual Studio. I am using 2008 and 2005. Why would I want to do th...

Handling asynchronous edits of documents on the web

I am writing a Web application that has a user interface for editing data. The idea is something similar to a wiki where there are edits to chunks of text. What is the best way to handle asynchronous edits from multiple users? The situation I am considering is this: There is a document that is version 0. User A is editing it when it...

Improving the way we write code?

While thinking about software-engineering in general I came across the question why we don't see any improvements in the way we write/document code. Think about it: There has not been a revolutionary improvement since we've moved from punch cards to text editing. The last improvement I've seen is syntax highlighting and context sensitiv...

Altering file inside firmware requires new checksum

I have a firmware-file for a picture frame that I want to alter. The purpose of this altering is to make the device display a custom image during boot. I've managed to switch the existing JPEG-file with my own custom file, but it is not possible to flash the device with this new firmware-file. The device complains about an invalid check...

How configure delete-selection-mode to only delete?

Hi. I am using GNU Emacs 22.3.1 on Windows. In my Emacs I have enabled delete-selection-mode, and it's very useful to select a region and delete or replace it. But I have a drawback. When I write or press DEL over the selection, Emacs does not only remove the text, but it kills (a.k.a. send to the clipboard*). This is very annoying for...

iphone OS 3 Video api

Does anyone know if its possible to open up the new camera/video API for the new 3gs in the app, similarly to the camera API in 2.2.1? recording functions and all? but in the same token, is it possible to edit the video recording you just took and edit it? all the best ...

Movie, Image Editing, Mixing Audio in IPhone

Hello All I need to develop some sort of application featuring Editing Movie slices, Adding and editing images, Adding sound . recording movie, Adding effects, setting transitions between movie clips and images. so is there any provision in SDK 3.0? I will use iPhone 3GS Please Help Me. Thanks ...

jquery- jeditable not working

basically what I want is simple, when people onclick, the field become editable. After they change the value, press Esc at keyboard/ or click outside , to save the record. I'm not sure why it's not working. Documentation seems not complete... Anyone got idea on how this work? The documentation page: http://www.appelsiini.net/projects/...

How do you add textboxes to Oracle APEX reports?

I'm generating a matrix report in Oracle APEX. I've got the values displaying properly, but when I click the "Edit button", I want all the cells to turn into textboxes. I know that you can do this by changing some settings in the Report Attributes, but the problem is my matrix report is dynamic, which means that I do not know in advance...

Video and Audio Editing components

I need to write a video and audio capability in a WPF application. It need to do video and voice capture with basic editing etc. Does anyone know of any components that could get me going. ...

Organising Imports in NetBeans

Netbeans is able to organise imports in a similar fashion to eclipse, but: it seems unable to remove unused imports for classes that can't be resolved (and are no longer used) I can only organise one class at a time - eclipse allows import organisation on packages and projects etc. Is there some way that I can fix these problems? ...

How can I open another vertical window (:vsp) on the left in vim?

vim's :vsp command opens a window on right. Is there a way to open it on the left side of the screen? ...

Combine Two Videos into One using c# .net

I have a website where users upload videos. I would like a library or control set to splice two videos into one. Does anyone have such a thing, or a different strategy? ...

Java - Find a line in a file and remove

I was digging on the internet to find a small code snippet that will find a line in file and remove that line (not content but line) but could not find. So for example I have in a file following: File myFile.txt aaa bbb ccc ddd Need to have a function like this: public void removeLine(String lineContent), and if I pass removeLine("...

about xml in c#

Hi , At present I’m developing a registration form in which, when we click on the save button. It will get save in a xml file. The details in the xml file should be displayed in the datagrid in separate window form. There are also three buttons. Edit, new and delete. On clicking on edit button, the selected rows detail in gridvi...

how to open camera from native applicatioon in iphone?

i want to write a app in which i open the camera.take a picture and then edit the picture..means put some cool effects on it...something like image editing...does some one knows a good or i say best approach to achieve this? i want to know that is open-gl necessary to create an aap like image editing? i have iPhone with OS 2.0. i also h...

Input text on UIImageView

Is it possible to allow user input text on a UIImageView, just like the text tool in painter? I cannot find any resource on this topic? ...

Commenting out a set of lines in a shell script

I was wondering if there is a way to comment out a set of lines in a shell script. How could I do that? We can use /* */ in other programming languages. This is most useful when I am converting/using/modifying another script and I want to keep the original lines instead of deleting. It seems a cumbersome job to find and prefix # for al...