Questions tagged [editing]
The editing tag has no usage guidance.
67
questions
0
votes
1
answer
70
views
How to find multiple zeroes of a single function
This is the problem I am solving.
I have defined my wanted equation as it is shown on the picture. Finding the first 0 (root) is not difficult with using FindRoot function.
The problem that i am ...
0
votes
0
answers
33
views
how to delete a variable programmatically in a notebook from another notebook
how to delete a variable programmatically in a notebook from another notebook?
c = b;
I have already tried Remove[c] but ...
1
vote
1
answer
75
views
Single-press TemplateBox deletion
One of the handy things about TemplateBox is that it can be used to define an alias for a more "natural symbol" (by having an empty list first argument ...
11
votes
2
answers
309
views
Keep Mathematica 12.3 from auto-formatting double square brackets?
I just updated to Mathematica 12.3.1. Whenever I use the double square brackets used to specify Part, Mathematica now auto-formats them. While the readability is nice, when I go to edit the code, I ...
4
votes
2
answers
135
views
Having special characters render as you type
It used to be that if I typed == or -> these would automatically be rendered as \[Equal] ...
3
votes
1
answer
94
views
Write commands in a texteditor as a low-level notebook expression
I want to write a notebook file by myself. I use a text editor (such as Vim) to do that, for the purpose of having full control of my code I am writing, and to really understand what is in my .nb file ...
0
votes
0
answers
38
views
How can I use "find selection" in mathematica?
I want to use find selection functionality in Mathematica and I found some articles saying it could be accessed by Ctrl + E. ...
5
votes
1
answer
142
views
How to enable WakaTime for the Mathematica front end?
WakaTime is a tool for logging one's coding activities, and now have amazing coverage for code editors. Although I write Wolfram in VS Code, I still spend a lot of time tweaking and testing in the ...
5
votes
0
answers
147
views
What is the black-background Mathematica code editor in the movie Arrival?
The heroine in the movie Arrival uses Mathematica to analyze the alien text. In a scene of the movie we can see the heroine is using an editor with black background, the code seems like Mathemaitca ...
0
votes
0
answers
51
views
detailed explanation of a sherical gyroid code and how to modify the code to obtain different pores sizes and numbers
***I have the code of a spherical gyroid below which I have used to print a 3D object sphere. i will need a detailed explanation of all the terms starting from a = 3 pi till mesh. moreover i printed ...
9
votes
0
answers
207
views
Has the Undo command really been settled? On version 12.1 it only works sporadically. What are some reasons it drops steps?
Although Undo has been around since version 10 (before my time) I've noticed that sometimes it works just fine up to the moment of the last ...
6
votes
1
answer
123
views
Selecting text inside quotation marks by clicking
We can select parts of code or text by repeated clicks like so:
1
2
3
4
5
But it seems like Mathematica skips one level. Between image 2 and 3 there should be an intermediate level of selected code ...
1
vote
1
answer
127
views
Dynamic updating and editing of matrix
I am trying to create a user interface for a demo project that uses matrix as an input. I provide user with a default matrix (as an example) for a start, but user can edit it or add extra row to it ...
3
votes
1
answer
132
views
An alternative to (%%…%) (k times) [closed]
Sometimes it may be useful to use (%%…%) (k times) to get the kth previous result in a notebook instead of setting a variable.
However, if I want to get the 8th previous result, for example, I would ...
1
vote
1
answer
61
views
Editing the graph to become with animation
In the following code:
p1=ParametricPlot3D[{ (3 + Cos[v]) Sin[u], (3 + Cos[v]) Cos[u], Sin[v]}, {u, 0, 2 Pi}, {v, 0, 2 Pi}]
p2=ParametricPlot3D[{Cos[Sqrt[2] t](3 + Cos[t]), Sin[Sqrt[2] t] (...
2
votes
1
answer
142
views
Speed up/slow down audio file
I am importing an audiofile to Mathematica and want to play it back at double speed. The only functions I see are the advanced options of AudioPitchShift (which doesn't alter the duration but ...
1
vote
1
answer
47
views
Variable refactoring and multi-selection
In IDEs like PyCharm for Python, I can select a variable name or method name and it will highlight to show where all I have used it. Also its easy to refactor the names under a given text selection.
...
3
votes
0
answers
76
views
Wolfram Workbench fails to open .wl file
I'm trying to open a .wl file with the Wolfram Workbench (Eclipse plug-in) and am getting the error message, "Failed to create the part's controls". If I expand the ...
1
vote
0
answers
59
views
How to automatically add indentation to selected block of code [duplicate]
While editing a package file .wl, I just realized I need to wrap a block of code in Module and other stuff. After doing that, I ...
5
votes
1
answer
78
views
Disable the "double-click to collapse cell group" feature in Mathematica?
I'm trying to figure out if there is a way to disable the feature of Mathematica whereby if you double click the brackets to the right of a formula + output, it collapses the output.
I want to ...
3
votes
0
answers
278
views
Why wouldn't undo work after delete?
I'm in 10.4, and it seems like after I paste undo works fine, but after I delete it does nothing.
Any reason for this?
1
vote
0
answers
104
views
Replace all tabs with whitespaces
does it exist a setting in the editor to replace all tab characters with a certain number of white spaces? Something like the following from Eclipse:
1
vote
0
answers
55
views
How to selectively delete a function together with its matching sets of brackets?
For example, suppose I want to retain only the content inside the argument of Distribute
...
0
votes
2
answers
127
views
Reading a tabulation of data with brackets and commas: OpenRead
While I can read a data file containing the one/multiple line(s) of
1.314 -4.32 6.44 342.3
using
...
6
votes
0
answers
399
views
Editing pdf files with Mathematica
As an example, consider this pdf file.
Would it be possible to edit the pdf, such as removing a logo, the page numbering and even frames, and save the result as a pdf? I would like to keep the pdf ...
9
votes
1
answer
1k
views
How can I use Vim key bindings in Mathematica Wolfram Notebook?
How can I use Vim key bindings in Mathematica Wolfram Notebook?
I'm sorry I have not found suitable tags from the existing ones.
0
votes
0
answers
54
views
How to turn off new feature in Mathematica [duplicate]
Mathematica recently added a new feature where an "x" appears to the right of input that does not make sense. See video below. Notice that as I start typing an x appears to the right.
This is ...
4
votes
1
answer
922
views
How to edit a downloaded cdf textbook example or prevent someone from editing my notebook?
I have downloaded from https://www.wolfram.com/cdf/uses-examples/textbooks.html the textbook example and I have opened it. I am trying to make some edits but I cannot. I opened the option inspector ...
7
votes
1
answer
422
views
Syntax Highlighting for WL files in Atom/Sublime?
What packages do people use for syntax highlighting in Atom, Sublime Text 3, etc?
9
votes
0
answers
126
views
How to suppress the escape window?
Cross posted here
If we first enter an empty string (""), and then paste something within the quotation marks, the following dialog box will pop up:
I recorded a ...
17
votes
1
answer
1k
views
How do I remove the little × that shows up in the frontend when typing?
Version 11.1 now shows a little grayed out × (a multiplication sign) when one is editing something, to warn them that the expression will be interpreted as the ...
1
vote
1
answer
41
views
Awkward selecting by keyboard
How can you modify text selection using [shift][right arrow]? The standard behaviour is awful: when I select too far and want to go back one step using [shift][left arrow] it extends the selection on ...
4
votes
1
answer
106
views
Editing strings with exponents, potential bug
Bug introduced in 8.0. or earlier, persisting through 11.0.1.
I know this site is not fond of screenshots, but this is the only way I could think of to communicate this behavior. When editing ...
5
votes
1
answer
110
views
Dynamic updating is triggered in the output cell when the input is edited
Bug introduced in 10.0 and persisting through 11.0.1 or later
Starting from Mathematica 10, there's a new feature: when you begin editing your input cell, its output becomes faded. A side effect of ...
14
votes
2
answers
1k
views
Evaluate expressions within Vim
I want to be able to type a quick Mathematica expression, such as
550/3. (e.g. common math),
...
0
votes
1
answer
81
views
Working with WolframCloud
I'm using WolframCloud from my smartphone and I'm having trouble to select all the cells of my notebook to delete them.
There is a command that selects all the cells in a notebook?
I tried using the ...
5
votes
1
answer
339
views
How to apply by-hand image selection to different images
Mathematica supports image selections by hand, by utilizing the selection tool.
I used it to extract relevant data (hundreds of little squares). Now I have a second image of same size, where I want to ...
9
votes
2
answers
884
views
Split screen view in notebook interface?
Is there a way to get a split screen in the notebook interface?
I want a movable horizontal bar in a window with two views into the same notebook, each of which is independently scrollable.
An ...
1
vote
1
answer
274
views
NewLine Inconsistency
Copy and paste the following two lines into Mathematica.
1 \[Alpha] \[NewLine] 2
f[ 1 \[Alpha] \[NewLine] 2]
The first posts ...
13
votes
2
answers
651
views
Automatic AutoIndent while editing a Package (.wl)
The author of this question is interested in personally handling the code indentation and having the package editor, built-in in Mathematica 2012, preserve the manually chosen indentation level from ...
8
votes
2
answers
6k
views
How to display line numbers in the Mathematica?
Is there such a thing in Mathematica; something like line numbers in Notepad++?
Thanks.
1
vote
0
answers
110
views
Can mathematica be configured to auto pair different parenthese?
In DrRacket, the editor can auto pair different parentheses, for example code like (let [(x 3 and whether press ) or ...
5
votes
1
answer
432
views
Selection bugs make Mathematica 10 unusable
I'm getting odd selection bugs in Mathematica (starting in 10.0.1.0, OS X 10.10 and still present in 10.3.1.0, OS X 10.11.2) that are making it impossible to use. For example if I simply click before ...
11
votes
1
answer
171
views
How to disable half-hiding output, when the corresponding input cell is modified
I think it has become less easy to compare the new output, now that the output font color turns gray as soon as something is modified in the input cell. Is there any solution?
4
votes
1
answer
352
views
Table with some editable cells
I have a table:
I want it to be editable only where the zeros appear. I read this post Generating an editable table that can be used as input because it's almost exactly what I want, but I couln't ...
4
votes
2
answers
963
views
Multiple Mathematica notebooks in a tabbed window with line numbers
I have the following questions:
Is there a way to open multiple mathematica notebooks in tab group rather that each mathematica notebook opened in separate window?
Is there a way to display line ...
5
votes
1
answer
152
views
How to apply by default the style to the Cell instead of the selection?
It's a bit tiresome repeating Ctrl+., or $\uparrow$, Shift+$\downarrow$ (in Mac), or grabbing the mouse to select the bracket every time one want to change the cell style.
As style commands on empty ...
2
votes
0
answers
86
views
Limiting scope of Front end "Replace All" in Find & Replace
The warning on find and replace isn't explicit and I only found out after an almost harmless global change that I really was replacing ALL, not just all instance in my selection (which is where most ...
5
votes
2
answers
2k
views
How do I NOT change the input/output number when editing?
I tried to search for a topic on this, but didn't seem to find anything, so here goes.
I'm pretty new to Mathematica, so there are a lot of things I don't know yet, but one thing is pretty annoying ...
2
votes
1
answer
122
views
ctags for Mathematica files?
I alway use vi to edit Fortran files. I can use ctags to know which variables and functions I have already defined. Now I use vi to edit Mathematica *.m files. I tried to use ctags for *.m files, but ...