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
4
votes
1 answer

How to insert a key-value pair after a specified key in a JSON object using jq?

I have a JSON file like this { "hierarchy": { "structure": { "card_11001": [ "addCard_4111" ], "container_11006": [ "mainContainer_11007", …
Joe
  • 791
  • 1
  • 9
  • 24
4
votes
1 answer

Edit android ninepatch png programly (change color)

Is there a way to change color of a ninepatch image(png) programly on android ? I know how do this with bitmap but not with ninepatch... Thanks to helping me. Regards Jim
jaumard
  • 8,202
  • 3
  • 40
  • 63
4
votes
1 answer

Is there a way to automatically change a line in several R scripts?

I have 50 R scripts that I need to change the same line for all of them. Is there a way to do it all of them at the same time instead of one by one using "find" and "replace"?
MSS
  • 345
  • 4
  • 12
4
votes
1 answer

C# ListView LabelEdit on a particular column

I have a listview with 2 columns LabelEdit = true. Now I have the below code written in KeyDown event if (e.KeyData == Keys.F2 && lvwColumns.SelectedItems.Count > 0) { lvwColumns.SelectedItems[0].BeginEdit(); …
pradeepradyumna
  • 952
  • 13
  • 34
4
votes
2 answers

jq: selecting subset of keys from nested object

Input: {"success": true, "results": {"a": …, "b": …, "c": …}} Desired output, given I want to keep b: {"success": true, "results": {"b": …}} Things I tried: $ jq 'del(select(.results.b | not))' {"success": true, "results": {"a": …, "b": …, "c":…
zopieux
  • 2,854
  • 2
  • 25
  • 32
4
votes
1 answer

p4 edit giving error : file(s) not on client

On doing p4 edit file1 I am getting err: file(s) not on client. Tried to edit the file1 from the folder where the file is located and also by giving full file path still got same error. p4 where gives 3 paths like : //depot/a/b/c/...…
Green
  • 653
  • 3
  • 6
  • 13
4
votes
0 answers

Swift 3 - How to open the calendar for editing when adding an event

I'm using the EKEventStore save(_:span:commit:) method with an "Add To Calendar" button in my app. My problem is that this method immediately saves the event. This obliges the user to then open their calendar to, for instance, add a reminder. Can…
Jake
  • 85
  • 1
  • 7
4
votes
3 answers

How to edit an element's text with React.js?

i wanna edit my p element's text when i press edit button. When i click edit button, i display a textarea and get keyed text with alert but can't put that text to my p element. What is the simple way to do it with React.js ? JSFIDDLE When i press…
user4991434
4
votes
0 answers

Symfony2 - Sonata ACL can't edit

I am working on a Symfony project where I have to manage roles. I want to use Sonata ACL but can't make it work. An user with ROLE_CONTACT should be able to list, create and edit an user, but he can only list and add users. I followed the…
Sylvain
  • 85
  • 9
4
votes
4 answers

How to edit icon of SearchBar Xamarin Forms on Android?

I need your help ! I work on a mobile development project, cross-platform. I use Visual Studio with Xamarin Forms. I want to make a page with a SearchBar (Xamarin.Forms class), but, my problem is the personalisation of the SearchBar icon, especially…
R.Extrant
  • 181
  • 3
  • 11
4
votes
2 answers

How to Auto-Alignment Shortcut Key in Keil uVision?

I want to find Auto-Alignment Shortcut Key in Keil uVision. I tried some shortcut keys but I can not find. In Visual Studio I used to: CTRL + K + D , but in keil uVision I don't know how it is work. For example : When you type below ( usually copied…
Purgoufr
  • 761
  • 14
  • 22
4
votes
1 answer

Edit curves lines and axes parameter option not showing in matplotlib

I'm using Python 2.6 and PyQt4. The matplotlib backend is set to "Qt4Agg". The plot shows up, but the option to edit the curve parameters (the one that looks like a green ticked box) is not showing up. Any ideas? Edit: Here is the checkbox that I…
Halldinz0r
  • 195
  • 1
  • 12
4
votes
3 answers

How to change target branch of a release in GitHub?

I recently released a private repository but while releasing I made the mistake of releasing it using develop branch as target branch. Now i want that release to target master branch and not develop. How to change the target branch to master? Note:…
wallop
  • 2,510
  • 1
  • 22
  • 39
4
votes
1 answer

Is there any way to allow admin to edit the user password in Orchard CMS?

Is there an extension i can use to allow the admin to edit the user password in orchard? Because, when i go to Settings>Users>Edit User, i have options only to change the user name, email or roles? And if no there are no extensions in the gallery,…
Uokimi Uokimi
  • 285
  • 1
  • 3
  • 9
4
votes
2 answers

Edit and Updating Data in Laravel

I am having some trouble editing data in Laravel. Here's the button to show Edit view: {{ Form::open(array('route' => array('edit_spk', 'id'=> $spk_data->id), 'method' => 'GET', 'style' => 'display:inline')) }}