editing

Free resource editor for Windows .rc files?

谁说胖子不能爱 提交于 2019-11-28 08:27:05
Microsoft Visual C++ Express does not include the built-in resource editor that comes with the professional versions. Are there any good, free, alternatives out there that let you visually edit those .rc files? Note: I am talking about the resource script source files used by Visual C++ to compile the resources, not the compiled resources themselves (i.e. the program would need to be able to visually edit menus and dialogs in a similar way as MSVC++ does it). alexandrul ResEdit used to be available here: www.resedit.net However, it seems to contain malware at this time. Please look for mirrors

Is there an HTML/CSS/JS editor that immediately shows changes? [closed]

淺唱寂寞╮ 提交于 2019-11-28 06:32:28
I just saw Bret Victors Keynote called "Inventing on Principle". At around 3:34 Minutes he uses a code editor that - after a change he makes - immediately shows consequences of it. As he types there are instant results. This is the video I am talking about: http://vimeo.com/36579366 Another example is this real-time online html editor . Can you tell me which offline editor I could use to work on my web projects (HTML/CSS/JS) this way? Preferably it can be used on OS X. Thanks! I don't know if there are any free ones, but TextMate has a live preview window. Just don't download the version 2

Pessimistic versus Optimistic Concurrency (Locking versus Feedback)

不打扰是莪最后的温柔 提交于 2019-11-27 18:28:36
问题 I'm building an application with the following criteria: work items: items that need to be manually worked via the web by users (short one page form) Multiple users working 'work items' Each user has a queue of 'work items' There is a search that allows users to view 'work items' and assign 'work items' to their queues Users can take 'work items' out of other people's queues by assigning them to themselves Note: 'work items' are worked only once. This is not a wiki page, it's more of a

problems with animation when deleting the last row of a TableView in ios7

爱⌒轻易说出口 提交于 2019-11-27 17:47:06
问题 I'm having some issues when deleting the last row of my (only) section in my tableView . Any other row works fine, but if I delete the row at the bottom of my tableView at any time (not just when its the last one left) the animation is very strange and laggy. It just doesn't look right. I've also noticed that changing the animation type doesn't do anything. The animation is always when the row slides up to the top and disappears. Changing it to UITableViewRowAnimationFade or another doesn't

How do I duplicate a whole line in Emacs?

谁说胖子不能爱 提交于 2019-11-27 16:38:14
I saw this same question for VIM and it has been something that I myself wanted to know how to do for Emacs. In ReSharper I use CTRL-D for this action. What is the least number of commands to perform this in Emacs? I use C-a C-SPACE C-n M-w C-y which breaks down to C-a : move cursor to start of line C-SPACE : begin a selection ("set mark") C-n : move cursor to next line M-w : copy region C-y : paste ("yank") The aforementioned C-a C-k C-k C-y C-y amounts to the same thing (TMTOWTDI) C-a : move cursor to start of line C-k : cut ("kill") the line C-k : cut the newline C-y : paste ("yank") (we're

How do I insert text at beginning of a multi-line selection in vi/Vim?

喜你入骨 提交于 2019-11-27 16:33:16
In Vim , how would I go about inserting characters at the beginning of each line in a selection? For instance, let's say I want to comment out a block of code by prepending // at the beginning of each line (assuming my language's comment system doesn't allow block commenting like /* */ ). How would I do this? pixelbeat Press Esc to enter 'command mode' Use Ctrl + V to enter visual block mode Move Up / Down to select the columns of text in the lines you want to comment. Then hit Shift + i and type the text you want to insert. Then hit Esc , wait 1 second and the inserted text will appear on

edit text file using Python

岁酱吖の 提交于 2019-11-27 13:19:12
问题 I need to update a text file whenever my IP address changes, and then run a few commands from the shell afterwards. Create variable LASTKNOWN = "212.171.135.53" This is the ip address we have while writing this script. Get the current IP address. It will change on a daily basis. Create variable CURRENT for the new IP. Compare (as strings) CURRENT to LASTKNOWN If they are the same, exit() If they differ, A. "Copy" the old config file (/etc/ipf.conf) containing LASTKNOWN IP address into /tmp B.

WPF IsEditable=true ComboBox filled with objects displays the ToString() as the selected item

牧云@^-^@ 提交于 2019-11-27 08:54:27
The Wpf combo box allows editing, and this is fine if all your combo box items are strings, or have a ToString() method defined on them. When you select an item, it is displayed as Text, it does not use a DataTemplate, it just calls ToString() on the item that is selected. I get a list of items in my combo drop down that are formatted using my item template, when i select one i get the name of the object i.e. MyNamespace.MyObjectName Some solutions have been use ValuePath to bind to a property on the object, but if you require your display to be more than one of these, bad luck. implement the

Editing Hyperlink and Anchors in PDF using ITextSharp

本秂侑毒 提交于 2019-11-27 05:30:01
I am using iTextSharp library and C#.Net for splitting my PDF file. Consider a PDF file named sample.pdf containing 72 pages. This sample.pdf contains pages that have hyperlink that navigate to other page. Eg: In the page 4 there are three hyperlinks which when clicked navigates to corresponding 24th,27th,28th page. As same as the 4th page there are nearly 12 pages that is having this hyperlinks with them. Now using iTextSharp library I had split this PDF pages into 72 separate file and saved with the name as 1.pdf,2.pdf....72.pdf. So in the 4.pdf when clicking that hyperlinks I need to make

Editable ComboBox with binding to value not in list

放肆的年华 提交于 2019-11-27 03:09:13
I have editable combobox where not always the preferred item is in the drop-down list. I would like to have the possibility of manually entering text in the textbox which is propagated to the string bound to SelectedValue. Right now the string bound to SelectedValue is only updated if the entered value is on of the ones in the ComboBox items. How do I allow custom values not available in the ComboBox list to be manually entered and properly propagated to bound value? John Gardner I was just doing this yesterday and today and it looks like the following: set the combobox IsEditable="true"