Questions tagged [editing]

Editing is a generic term for updating a file, document, or page.

927 questions
51
votes
1 answer

How does Google Docs deal with editing collisions?

I've been toying around with writing my own Javascript editor, with functionality similar to Google Docs (allowing multiple people to work on it at the same time). One thing I don't understand: Let's say you've got User A and User B connected…
38
votes
10 answers

how to edit a file in powershell remoting session (powershell)

I am connecting to another computer using powershell remoting, really nice. can do lots, but how do I edit a file? PS C:\Users\guutlee> Enter-PSSession -ComputerName appprod [appprod]: PS C:\Users\guutlee\Documents> cd \myapp [appprod]: PS…
guutlee
  • 423
  • 1
  • 5
  • 7
35
votes
3 answers

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…
anon
  • 41,035
  • 53
  • 197
  • 293
34
votes
4 answers

Detect Start and Stop Editing UITextView

How can I call some code upon entering a UITextView (user taps to edit it) and leaving the view (user taps to leave it)? Appreciate any help.
Josh Kahane
  • 16,765
  • 45
  • 140
  • 253
32
votes
3 answers

Using insert rows in a UITableView

I'd like my UITableView to behave like the the table in the Contacts editor, i.e. the user should hit Edit and an "add new category" row should appear at the bottom of each section. I'm using the below code to do this, but the problem is that there…
Bill
  • 44,502
  • 24
  • 122
  • 213
31
votes
6 answers

Switching from python-mode.el to python.el

I recently tried switching from using python-mode.el to python.el for editing python files in emacs, found the experience a little alien and unproductive, and scurried back. I've been using python-mode.el for something like ten years, so perhaps…
Alex Coventry
  • 68,681
  • 4
  • 36
  • 40
28
votes
12 answers

How to use VSCode to remotely edit website files?

I need to be able to remotely log into web servers for my clients and edit code remotely. I mostly use this for CSS changes, but also am starting to play with PHP as well. I have tried to get Remote-Editor to work but it won't pick up the .remote…
Ron Le Vine
  • 291
  • 1
  • 3
  • 3
28
votes
9 answers

Emacs equivalents of Vim's dd,o,O

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,…
ericteubert
  • 4,531
  • 3
  • 31
  • 35
24
votes
6 answers

Editing C# while debugging

I know I've dealt with this issue before, but the settings to override this always seem to be changing. I have a C# project in Visual Studio 2008. While I'm debugging, VS won't let me edit my code. I don't want to Edit and Continue - I just want to…
Josh
23
votes
2 answers

Emacs repeat string n times

I'm learning the basics of navigating/editing in Emacs and I'm curious how one could accomplish the following task: Repeat the string 'bla ' n times in normal text editing mode. Let's say I want to repeat it five times to generate 'bla bla bla bla…
sammy34
  • 5,312
  • 5
  • 29
  • 42
22
votes
35 answers

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…
Nils Pipenbrinck
  • 83,631
  • 31
  • 151
  • 221
20
votes
2 answers

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

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…
Aran Mulholland
  • 23,555
  • 29
  • 141
  • 228
18
votes
4 answers

Free resource editor for Windows .rc files?

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…
Anders Sandvig
  • 20,720
  • 16
  • 59
  • 73
17
votes
1 answer

How do I edit the response of a form submission in Google Forms/Sheets?

Recently, I've been conducting a survey. I began creating it in Excel Forms Online but switched to Google Forms after I realized several of its shortcomings. I hit a few snags but I thought I was all set to go. Unfortunately, I began adding…
InterLinked
  • 1,247
  • 2
  • 18
  • 50
17
votes
5 answers

jqGrid: Disable form fields when editing

I'm currently developing a web application designed for the administration of vending machines and such. I decided to use jQuery, jQuery UI and jqGrid for this project, so I can easily provide a great and highly customizable user…
Arno Moonen
  • 1,134
  • 2
  • 10
  • 28
1
2
3
61 62