editing

TableView or ScrollView for edit form?

I wonder which will be the best route for build edit forms on the iPhone, using a TableView or using a scrollview. I need: Support up to 15 fields (similar to contact app) The same behavior of safari forms, where is possible go back/forward among fields, and the form center the selected field and stay there when the user end the editi...

Paging, sorting, editing with LINQ Data Source

Right, ok, I have followed Scott Gu's example in his part 9, etc, etc blog and despite my best efforts to achieve 'automatic sorting, paging and editing, I cannot get the so and so to work. Is automatic sorting, paging and editing possible with the following set up? <asp:TextBox ID="tbxHowMany" runat="server"></asp:TextBox> <asp:R...

Saving a .php file and saving the includes too (possibly)

The setup: I have a standard .php file (index.php) that contains two includes, one for header (header.php) and one for footer (footer.php). The index.php file looks like this: index.php <?php include header.php; ?> <h2>Hello</h2> <p class="editable">Lorem ipsum dolar doo dah day</p> <?php include footer.php; ?> header.php like thi...

Editing large data files

I'm about to start on a project wherein I can foresee there being large files (mostly flat text files, but could be CSV, fixed-width, XML, ...so far) that need to be edited. I need to develop the pieces to do this editing within the application. In trying to determine a Good Way to handle editing large amounts of data (possibly into th...

editing style for custom UITableViewCell

how do i set editing style for custom UItableviewcell like this image. this is shopping cart view ,so i am gonna have many UITableViewCell, out of other fields only Qty field is going to be editable. thanks ...

Is there a way to *completely* disable Edit and Continue?

I was wondering if there was a way to completely lock my code while debugging it within Visual Studio 2008. The code documents lock automatically when running as 64 bit applications, which I greatly prefer; however, I do most of my coding making add-ins for Excel, which is 32 bit. The result is that even though I target 'AnyCPU', the VS ...

Editing PDF with XPDF (or with something else)

Hello All, I would like to ask if it is possible to edit PDF files using the xpdf library and if yes how? I guess this is possible but i could not find any tutorial nor documentation for xpdf so i have realy no idea :( . I'm also open for using another library if any other has support for pdf editing. My only requirement for such librar...

Create a (edit) hyperlink in front of dropdownbox with jQuery

I have a table with some data. All data is contained in dropdownboxes and textbox. But it isn't easy to see, what is newly written input and what is data from the database. So I want to create a (edit) after these boxes, and replace the boxes with a literal where the contained value in the dropdownbox stands. When the edit-button is pus...

Tool to edit CSS color-scheme

Is there a tool that allows me to load a CSS file, and apply filters to the color scheme? Like rotating hue of all color, change global lightness/darkness, saturation... Something like a photoshop of the CSS world! Thanks! ...

In Vim: how do I change a highlighted section?

cw changes a word. Likewise if I have selected sections in vim (found by /), how do I change one of the highlighted section, so that I can repeat(.) the process in all of the other highlighted sections. I know %s will do the trick. But I wanted to go this the / way (visual satisfaction). Edit: I am looking for an extender to c like w...

Emacs equivalents of Vim's dd,o,O

Hi there, I am currently playing around with emacs and happy with most of the concepts. But I really adored the convenience of the three vim commands: dd,o,O Hopefully you can tell me how to mirror them in emacs :) dd - deletes whole line, including newline, no matter where the cursor is. I found something similar to do the trick:...

How to search across a directory of files in vim?

A common programming task for me in vim is: :s/some pattern/ do some work n # finds the next entry do some work n # finds the next entry ... Now, s/.... only searches in the current file. Is there a way I can do this, but search across a directory of files? Say do "s/..../" over all files in subdirectoires of pwd that ends in *.hpp of...

What are the events to handle the selection of the left circular button in UITableView editing mode

Hai, I have a requirement where I have to handle the events on selecting the left round button on keeping the UITableView in editing mode. Any help would be great. Thanks, Gangadhar ...

iphone - any way to manipulate recorded audio?

Specifically, I just want to record something, reverse it, and play it back. I've looked through the apple docs and couldn't find anything about editing audio. Is it possible? ...

How to swap files between windows in VIM?

When I work with VIM, I always have multiple windows visible. Sometimes I would like to have an easy way, to swap those windows in places. Is there any Plugin, Macro, etc to make this more easy? BTW, I use MiniBufExplorer. ...

Emacs: Is there a way to create a interactive script using Emacs?

I am new to emacs, but shocked at what I can really do and how much time it saves (Macros save A LOT of time). But I was wondering it was possible to create step based scripts where it asks the user for input and executes code based on that. For example maybe I want to create a SQL query so it would prompt something like: >table name? m...

Dojo datagrid cell editing doesn't allow editing multiple cells in the row

Hi there, I'm using dojo 1.2.2 version. I can edit one cell in the datagrid fine. But when I edit another cell content in the same row after I complete editing the previous cell, I got prompted "Modify on deleted item is not allowed. Please save or revert changes before." and the second cell content doesn't get saved. Could somebody poi...

Editable tableHeaderView in UITableView (like Contacts App)

Hello! I'm currently trying to implement a editable details view using a grouped UITableView. I'd like it to look like the Contacts application: in viewing-state it should display the header as plain label (in Contacts it's the name with TRANSPARENT background). in editing-state it should display the header as editable UITableViewCell...

CakePHP HABTM: Editing one item casuses HABTM row to get recreated, destroys extra data

I'm having trouble with my HABTM relationship in CakePHP. I have two models like so: Department HABTM Location. One large company has many buildings, and each building provides a limited number of services. Each building also has its own webpage, so in addition to the HABTM relationship itself, each HABTM row also has a url field where ...

AJAX Inline Editing: Add PHP Update to new changes

I’m working on a homepage and will use an AJAX inline editing script for the admin to make it as simple as possible. The script I’ve been using is this and it has almost everything I wanted from an inline editing script. My problem arises when I’m going to capture the new changes and send them to a PHP function which will update my datab...