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

CakePHP 3 - beforeSave callback not working on edit

I have a beforeSave-callback which is called just fine whenever I create a new entity. However when I am editing, it's not called at all. Could not find anything in the documentation that could be helpful. Here's my edit function: public function…
yBrodsky
  • 4,981
  • 3
  • 20
  • 31
4
votes
2 answers

Symfony2 simple file upload edit without entity

Please help me out here because I can't belive my eyes. I refuse to use some 3rd party plugin for file uploads, and refuse to creat a separate entity for a file/document. I just want simple file upload that I would do in Zend/Laravel and so on. I…
doglover1337
  • 146
  • 4
  • 18
4
votes
2 answers

How do Hex editors display data so quickly?

I'v created a Notepad-like application and if I load a 1MB file into the textbox, it takes about 1 minute. The Visual Studio Binary editor displays lines, Hex, and ascii versions in a fraction of a second. How do they get the data into the textbox…
jmasterx
  • 52,639
  • 96
  • 311
  • 557
4
votes
3 answers

Delphi Search Edit Component

I need a delphi component for Delphi 2007 win32 that have features like Google search text box. ** While User writing search key it should fill/refresh the list with values, and user can select one of them. **User can go up and down list and can…
Reber
  • 41
  • 1
  • 2
4
votes
1 answer

Datagridview - Focus on Cell that was right clicked

I have a datagridview that I have put a ContextMenuStrip1 on. I would like it to remove a row in the datagridview when the row is right clicked on and they click on "delete row". I have the delete working and the menu is showing up but this isn't…
ErocM
  • 4,505
  • 24
  • 94
  • 161
4
votes
3 answers

Speeding up PDE edit-compile-debug cycle

Are there any low-hanging fruit regarding some more efficient way to run and test Eclipse-plugins (within the PDE)? Besides slimming down the Eclipse-configuration, which has already been done.
pmf
  • 7,619
  • 4
  • 47
  • 77
4
votes
1 answer

How to edit .aspx page in Chrome

A webpage I'm accessing via Chrome, has a countdown timer which refreshes and updates the page/data every 10 minutes. I would like to edit the page locally to change this update frequency. Using the Developer Tools, I've found the variable which…
napier
  • 53
  • 1
  • 4
4
votes
5 answers

How can I edit a column when I double click on it?

I am using a table to view some of the data, the table looks like below …
bhai
  • 305
  • 3
  • 9
  • 19
4
votes
2 answers

Javascript replacing image source

I am trying to change the contents of the src tag within a web page (without changing the HTML/naming structure) My code looks something like this at the moment: ....
TheLovelySausage
  • 3,838
  • 15
  • 56
  • 106
4
votes
3 answers

Ways to read/edit multiple lines in python

What i'm trying to do is to take 4 lines from a file that look like this: @blablabla blablabla #this string needs to match the amount of characters in line 4 !blablabla blablabla #there is a string here This goes on for a few hundred times. I read…
Roeben
  • 67
  • 1
  • 1
  • 5
4
votes
1 answer

How to add a link to django-autocomplete-light selected items?

New bie here. I successfully installed django-autocomplete-light to my django-admin v1.4. Is there a way to add a hyperlink after selecting an autocomplete-light widget which is a foreignkey field in models? I can only see an x icon to cancel the…
Charlesliam
  • 1,293
  • 3
  • 20
  • 36
4
votes
1 answer

ASP.NET MVC 4 Model property value lost coming back from Edit view

I have a model with a DateCreated value that is not scaffolded. Coming to GET Edit controller action I see that the model has a correct value that is passed on to the Edit view. Coming back from the view, POST method, the value for DateCreated is…
elector
  • 1,327
  • 4
  • 26
  • 43
4
votes
1 answer

GridView Edit Button Requires 2 Clicks

When pressing edit button in gridview, edit template is displayed only after 2 clicks. And another problem: Value of the field to edit is displayed in gridview initially, but not in edit template. Asp code:
phalanx
  • 497
  • 5
  • 17
  • 33
4
votes
2 answers

RoR: update action. rendering path when error

Rails project: Project has many Ticket's. Path to editing a ticket: /projects/12/tickets/11/edit When updating a Ticket and validation fails, I use render :action => "edit". However, when the edit view renders this time, the path changes to…
user1121487
  • 2,662
  • 8
  • 42
  • 63
4
votes
2 answers

Open and edit a Word template from Delphi

I need to be able to open and edit a Word template from Delphi (using Word) I can open the template OK but Word assumes it to be a document and not a template. The problem is that I need to edit the template and not use it as template for a new…
OZ8HP
  • 1,443
  • 4
  • 31
  • 61
Id Name Salary
1 Imthi 30000