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
4 answers

Compute and edit multiple attributes in a single jQuery call

I need to compute new and edit both the 'x' and 'y' attributes of an SVG element (rect) using a single jQuery call. Now I know you can do this: var incBy = 20; $('#test').attr('x', function(i, val) { return parseInt(val) + incBy; }); which is…
Steve
  • 3,483
  • 5
  • 21
  • 20
4
votes
1 answer

Export beamer slides to powerpoint editable format

I usually prepare my talks using powerpoint, where I explaing programs, pseudocodes, etc. Recently I was thinking about creating text-only, code-only and pseudocode-only slides with beamer and then exporting them somehow to powerpoint where I modify…
Open the way
  • 26,225
  • 51
  • 142
  • 196
4
votes
6 answers

Android: select all text on focus on EditField

I'm trying to get Android to select all the text in an EditText field when it gets the focus. I'm using this attribute in the layout (on both fields): android:selectAllOnFocus="true" I'm not sure if this is relevant, but to get the cursor to the…
Jack BeNimble
  • 35,733
  • 41
  • 130
  • 213
4
votes
2 answers

Qt Mac (Re)move "Special Characters..." action in Edit menu

I am developing an application in Qt that rebuilds its menus very often. However, when we call clear(), and re-add the actions that we want in the menu, "Special Characters..." appears to remain in the menu. Is there any way to remove, or move this…
beta
  • 647
  • 5
  • 19
4
votes
1 answer

Making Changes in CoreData record, SwiftUI

I'm learning Core Data with SwiftUI. I want to make an app where I can post Movies I liked, make a review and add rating. I can already add new Movie in my app, delete it, see Details of Movie. Now I want to Edit my record in CoreData. I found it…
Maciekx7
  • 135
  • 1
  • 8
4
votes
3 answers

Custom edit views in Plone 4

I have created a custom content-type (Resume) and I wish to provide a custom 'edit' view. My use-case is very simple, I simply want to show an HTML "disclaimer" box before the edit form. First of all I have…
Rigel Di Scala
  • 3,150
  • 2
  • 17
  • 23
4
votes
1 answer

Java table arraylist modification

Basically it's a task to manage properties, and I am doing a much more complex solution than it is required. It is just the last bit where I struggle. To give you an idea of what we have: Properties (superclass) PropertiesToLet(extends…
Richard
  • 1,543
  • 3
  • 25
  • 49
4
votes
1 answer

How to make update mysql table row from form: Laravel 5.8

I am having trouble updating a row on my Laravel project. The form receives all the necessary information perfectly, but once I hit the update button, the information parsed from the form is returned as null My edit (form)…
George G
  • 93
  • 7
4
votes
2 answers

How to Edit Textmate shortcuts

I don't know how I did it, but I lost the ⌘/ commenting shortcut. I normally use it a lot. I've checked if a different app in osx 10.6.6 "System Preferences > Keyboard > Keyboard Shortcuts" it as a hot key but it appears to be still available. Does…
PhilD
  • 749
  • 1
  • 5
  • 8
4
votes
5 answers

Programmatically deselecting and edited JTable cell

I have a JTable in which a user enters data in the cells. Then there is a "Save" button which collects the table data, formats it in csv, and saves it to a file. However, if a user leaves the last cell edited in a selected state, and clicks the Save…
John R Doner
  • 2,242
  • 8
  • 30
  • 36
4
votes
4 answers

UITableViewCells change size in edit mode

I want to change the appearance of an UITableviewCell in edit mode like it is shown in the address book from apple. The cell should resize and i will add UITextFields as subviews. I know that to change appearance of a cell you have to overwrite the…
Eddy
  • 41
  • 1
  • 2
4
votes
6 answers

C# Automation Multiline String Trim

I am wondering how I can trim every string of an array after a certain char, for example I have 1 textbox in which I put a multiline string like: HelloWorld:123 IAmABerliner:JFK and then I want to click a Button and in the second TextBox…
4
votes
2 answers

Change entry in a JSON list that matches a condition without discarding rest of document

I am trying to open a file, look through the file and change a value based on the value and pass this either to a file or var. Below is an example of the JSON { "Par": [ { "Key": "12345L", "Value":…
BobMonk
  • 178
  • 1
  • 10
4
votes
1 answer

Brackets-like Quick Edit feature for Visual Studio Code

Brackets editor (and Dreamweaver too) from Adobe has a feature called Quick Edit which allows inline modification in the related pieces of code across various files without opening those files in a separate tab. Moreover, if you created a class for…
LЁXA designs
  • 41
  • 1
  • 2
4
votes
5 answers

Javascript: How to change a nodes name?

For example I have this HTML:
Text
And I would like to change the div to something else like p. This is what I have tried but doesn't works: var div = document.getElementsByTagName("div")[0]; // Get Element …
Adam Halasz
  • 57,421
  • 66
  • 149
  • 213