Comments (4)
This snippet is in pseudocode. How can we make it colored when there is no defined syntax for it?
from hyperformula.
@sequba I get your point. But I still think that this would look way better.
<code>
<span class="token">AllCellDependents</span>=<span class="token variable">{'start'}</span>
<span class="token keyword">let</span> <span class="token variable">Q</span> <span class="token keyword">be</span> <span class="token keyword">an</span> <span class="token keyword">empty</span> <span class="token keyword">queue</span>
<span class="token variable">Q</span>.<span class="token function">enqueue</span>(<span class="token variable">start</span>)
<span class="token keyword">while</span> <span class="token variable">Q</span> <span class="token keyword">is</span> <span class="token keyword">not</span> <span class="token keyword">empty</span> <span class="token keyword">do</span>
<span class="token variable">cell</span> := <span class="token variable">Q</span>.<span class="token function">dequeue</span>()
<span class="token variable">S</span> := <span class="token function">getCellDependents</span>(<span class="token variable">cell</span>)
<span class="token keyword">for</span> <span class="token keyword">all</span> <span class="token variable">cells</span> <span class="token variable">c</span> <span class="token keyword">in</span> <span class="token variable">S</span> <span class="token keyword">do</span>:
<span class="token keyword">if</span> <span class="token variable">c</span> <span class="token keyword">is</span> <span class="token keyword">not</span> <span class="token keyword">in</span> <span class="token variable">AllCellDependents</span> <span class="token keyword">then</span>:
<span class="token function">insert</span> <span class="token variable">w</span> <span class="token keyword">to</span> <span class="token variable">AllCellDependents</span>
<span class="token variable">Q</span>.<span class="token function">enqueue</span>(<span class="token variable">c</span>)
</code>
from hyperformula.
Ok, you meant coloring it manually. Yes, we can do that 👍
from hyperformula.
Released with version 2.6.2.
from hyperformula.
Related Issues (20)
- Remove unorm dependency HOT 1
- Bug in the Server side installation instructions HOT 2
- [Bug]: `simpleCellRangeToString` does not work with column ranges and row ranges HOT 6
- Introducing HyperFormula 2.6.2
- Upgrade vuepress to 1.9.9
- Prepare a list of most popular Excel functions that are missing from HyperFormula HOT 1
- Mortgage calculator as a new code example in readme HOT 1
- Make sure all demos uses the latest HyperFormula version HOT 1
- Remove `tiny-emitter` dependency
- Docs: unify the page titles in the left side menu and the search results HOT 1
- [Bug]: Functions do not take null named expressions into account HOT 2
- Excel compatibility issues HOT 3
- Demo: custom function that uses GPT API
- Per-instance internal custom state accessible from a custom function implementation HOT 1
- Integration of hyperformula with kendo spreadsheet HOT 2
- Rename the properties of `FunctionMetadata` interface to make them more logical
- [Bug]: In a specific combination of adding rows, content, and column amount alteration we get `Uncaught Error` from the `DenseStrategy` HOT 3
- [Bug]: `COLUMN` doesn't work in the array arithmetic mode HOT 2
- [Bug]: No change event is emitted when the formula changes HOT 14
- [Bug]: paste after cut gives not changed cells HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
classNames to enhance the *Dependency graph* code snippets
from hyperformula.