Giter Site home page Giter Site logo

Comments (6)

Un1Gfn avatar Un1Gfn commented on July 23, 2024

This feature is quite useful with coding in Verilog. like this

module some_module(
  input A3, // MSB
  input A2,
  input A1,
  input A0  // LSB
)

Without this feature, one has to insert 0..3 and then "Menu->Edit->PermuteLines->Reverse"

from text-pastry.

Un1Gfn avatar Un1Gfn commented on July 23, 2024

There is a workaround. In the previous example, put cursors to the right of all 'A's and command palette(Ctrl+Shift+P) -> Text Pastry: Range (numeric), then fill the "Text Pastry Command" input box with "range 3 -999". Done.

Unfortunately it works only if you know the number of cursors (3) already.

from text-pastry.

SmartManoj avatar SmartManoj commented on July 23, 2024

s input A3 -1 x4

from text-pastry.

Un1Gfn avatar Un1Gfn commented on July 23, 2024

@SmartManoj ?

from text-pastry.

SmartManoj avatar SmartManoj commented on July 23, 2024

@Un1Gfn The above command produces
input A3
input A2
input A1
input A0

from text-pastry.

duydao avatar duydao commented on July 23, 2024

I've added From X to 1 and From X to 0. X is based on the number of selections

from text-pastry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.