Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [editing]

The tag has no usage guidance.

1
vote
1answer
19 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] (...
1
vote
0answers
53 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
1answer
27 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
0answers
48 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
0answers
39 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
1answer
53 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 ...
1
vote
0answers
34 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?
0
votes
0answers
44 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
0answers
53 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
2answers
53 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 ...
5
votes
0answers
220 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 ...
1
vote
0answers
304 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
0answers
48 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
1answer
538 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
1answer
259 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
0answers
118 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
1answer
873 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
1answer
39 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
1answer
75 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
1answer
79 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 ...
13
votes
2answers
536 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
1answer
74 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
1answer
292 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 ...
8
votes
2answers
550 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
1answer
135 views

NewLine Inconsistency

Copy and paste the following two lines into Mathematica. 1 \[Alpha] \[NewLine] 2 f[ 1 \[Alpha] \[NewLine] 2] The first posts ...
8
votes
1answer
435 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 ...
7
votes
2answers
4k 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
0answers
81 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
1answer
389 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
1answer
156 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?
3
votes
1answer
254 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
2answers
616 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
1answer
125 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
0answers
81 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
2answers
1k 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
1answer
114 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 ...
24
votes
1answer
2k views

What is available for editing Mathematica source code with Emacs?

I can find several Emacs libraries for Mathematica, but I'm not aware of a clear favourite, a definitive list, or of a library which is actively maintained and developed. None of these appear to be in ...
2
votes
1answer
239 views

Is it possible to merge cells excluding results with one click?

Now when I merge two cells with right-click "Merge Cells", they merge with the results included, while I only want the commands merged. Can I make it a one-click button? Now I have to delete the ...
15
votes
3answers
3k views

Programming Mathematica in plaintext, i.e. no formatting, non-notebook

I'm new to Mathematica and I've just begun reading Paul Wellin's Programming in Mathematica. The book, like many other books and online tutorials, revolves around using the notebook, with all its ...
2
votes
1answer
185 views

Spelling dictionary corrupted

Bug introduced in 9.0 and fixed in 9.0.1 I have a problem with the Check Spelling in Mathematica, that I quite don't understand: If I try to use the Check Spelling on any notebook, the check just ...
3
votes
1answer
287 views

Different Chapters in Different Files

I was wondering if there is a command to change the counter to adjust its numbeing to having different chapters saved as separate files. This seems possible with page numbers but not section numbers.
6
votes
1answer
722 views

How to replace a string within a selected region in a notebook?

I want to replace a string in a selected region/cell in mathematica notebook/package. I searched but didn' t get any result. I think it' s a quite common feature for editors/programming environments. ...
2
votes
3answers
581 views

Edit AxesLabel from an existing plot

I have a really complex function that takes a few hours to plot as a function of a parameter. Few days later I realised that I named the axes wrong. Is there an easy way to edit the AxesLabels without ...
4
votes
1answer
947 views

Calculating pleasant colors for source code or web-design

I really like when the programs or editors I use have pleasant colors. Sometimes when there's nothing else to do or sometimes when there are very important, but incredibly boring things to do, I find ...
24
votes
2answers
2k views

Use Mathematica as a terminal

I love how notebooks work in Mathematica. You can edit code in real time and hit Ctrl+Shift to run it. Additionally you copy and paste different cells around to organize and test ideas. Search ...
8
votes
2answers
4k views

Taking class notes with a Mathematica Notebook

Dose anyone take notes in a technical class using a Mathematica notebook? If anyone does, how does it compare to paper and are there useful commands? I have a hard time remembering ctrl/alt/esc ...
6
votes
2answers
208 views

Prevent front-end from reformatting long fractions while editing

I am editing an expression containing wide fractions (typeset with fraction boxes): But if, while editing the equation, the fraction exceeds some threshold (seems to be approximately the window width)...
7
votes
1answer
573 views

Can Mathematica check spelling during typing?

I can't see a way to get Mathematica to check my spelling as I type. Is this feature not supported? I've done everything I can think of with my options: Is there a setting I'm missing?
38
votes
6answers
14k views

Is there a way to hide or toggle the visibility of code?

Many of my notebooks have a similar repeating structure, which is very convenient and reliable for my workflow: a chunk of code defining a Manipulate for exploring ...
42
votes
1answer
2k views

Open two copies of the same notebook

Is there a way to open one notebook in two (or more) different windows? This can be helpful when working with a long notebook and one wants to edit one part of it while looking at a different part. ...