Questions tagged [edit]

to modify (a computer file) by, for example, deleting, inserting, moving, or copying text.

Edit can be done as part of coding or changing configuration files.

The tool which is used for editing is called an Editor. Common editors include vi, emacs etc.

3207 questions
5
votes
3 answers

How do I make a React component editable?

At the last stage of my project for learning react and firebase and I am facing a problem. From reading the docs of both of those I have understood how and what to do for the most part. I want to take in the content from a blog post and then edit it…
Al-m
  • 127
  • 1
  • 2
  • 13
5
votes
1 answer

Expected argument of type "Doctrine\Common\Collections\ArrayCollection","Doctrine\ORM\PersistentCollection" given

I have a many to many relationship between Tag and Article entities, the insertion works well but the creation of the edit form (the editAction function) does not work. All the code is there: Article.php
5
votes
2 answers

How do I sort a possibly-absent array with jq?

Given the following JSON: { "alice": { "items": ["foo", "bar"] }, "bob": { "items": ["bar", "foo"] }, "charlie": { "items": ["foo", "bar"] } } I can sort the items array as follows: $ jq < users.json 'map(.items |= sort)' [ { "items":…
Wilfred Hughes
  • 29,846
  • 15
  • 139
  • 192
5
votes
2 answers

Use Enter key to navigate to cell below in AG-Grid

We need to edit the cell navigation in AG-Grid but I am not finding a way to do what we need. This is not a huge change but a crucial change for our users. The navigation rules we need is similar to Google Spreadsheet cell navigation. The following…
Jaffakex
  • 498
  • 1
  • 5
  • 16
5
votes
1 answer

Edit ZipArchive in memory .NET

I'm trying to edit a XmlDocument file contained in a Zip file: var zip = new ZipArchive(myZipFileInMemoryStream, ZipArchiveMode.Update); var entry = zip.GetEntry("filenameToEdit"); using (var st = entry.Open()) { var xml = new XmlDocument(); …
Emaborsa
  • 2,360
  • 4
  • 28
  • 50
5
votes
1 answer

Make td have editable background color in Mailchimp's editor

I'm setting up a custom template for a client where they want to be able to change the background color of some of the elements using the editor. I added an mc:edit property but it doesn't seem to have any effect - the property can't be changed.…
Staffan Estberg
  • 6,795
  • 16
  • 71
  • 107
5
votes
2 answers

jqGrid Cell Editing - Double Click to Edit?

By default, if a jqGrid cell is editable, single click on that cell changes it to edit mode. Is there any way I can make it edit on a double click instead? It would make it easier to do row-level operations such as deleting, as all the columns in my…
Kyle
  • 213
  • 1
  • 3
  • 13
5
votes
2 answers

How do I replace the bootstrap step in the package randomForest r

First some background info, which is probably more interesting on stats.stackexchange: In my data analysis I try to compare the performance of different machine learning methods on time series data (regression, not classification). So for example I…
DaReal
  • 597
  • 3
  • 10
  • 24
5
votes
1 answer

Using Perl to replace a string in only a certain line of file

I have a script that I am using for a large scale find and replace. When a match is found in a particular file, I record the file name, and the line number. What I want to do is for each file name, line number pair, change a string from to…
bneigher
  • 818
  • 4
  • 13
  • 24
5
votes
1 answer

JavaFX editable cell with focus change to different populated cell

I need editable cells for JavaFX TableView. The default TextFieldTableCell requires the user to press enter to commit a change. I think a typical user expects the change to be kept when clicking outside the cell. All the features I want…
David Bal
  • 94
  • 1
  • 5
5
votes
2 answers

cannot change(edit) the file uploaded in django

My project contain a profile for a person, in which they can upload their photo as profile picture. The problem is i cannot change this photo. In the edit section i can edit all other things like name,address etc.. but not the photo. my models.py…
Jerin A Mathews
  • 8,572
  • 4
  • 26
  • 49
5
votes
2 answers

Is it possible to disable commitEditingStyle programmatically?

In my tableview, I only want certain cells to be able to drag to the left for some options based on a condition. The other cells should behave as if commitEditingStyle is disabled. Is this possible? With the code below, I can add the actions when…
Hendrik Smoels
  • 240
  • 3
  • 12
5
votes
0 answers

Incorrect navigation while contact saving on Android

Although the documentation says that this bug is fixed (see: Add the navigation flag), I am experiencing the same problem. From my application I want to add new Android contact, and after the saving is completed I want to get back to my application…
Sandra
  • 4,239
  • 10
  • 47
  • 80
5
votes
4 answers

Editable Label Controls

Does anybody know how I could go about creating an Editable Label Control? I need my users to be able to Edit Labels (Also change parts of its style info), but have found no helpful info anywhere online. Any help at all is appreciated Thank you
anon271334
5
votes
4 answers

How to enable real time CSS editing in chrome?

I have seem a lot of videos in which developers are changing CSS on the fly in chrome. I tried the same thing but chrome did not allow me to change the code. I can't write on the style sheet. Is there any specific setting to do this? Kindly…
narayanpatra
  • 5,627
  • 13
  • 51
  • 60