Coder Social home page Coder Social logo

Remove duplicates in history about garglk HOT 5 CLOSED

melted avatar melted commented on May 29, 2024
Remove duplicates in history

from garglk.

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
Seems like a useful feature, and relatively easy to implement: when using the up
arrow to scroll through lines, skip any lines that are identical to the current 
line.

Original comment by [email protected] on 29 Nov 2008 at 5:09

  • Changed state: Accepted
  • Added labels: Type-Enhancement, Component-UI, OpSys-All
  • Removed labels: Type-Defect

from garglk.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024

Original comment by [email protected] on 1 Dec 2008 at 4:37

  • Added labels: Usability

from garglk.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
Fixed in r127.

Original comment by [email protected] on 10 Dec 2008 at 12:48

  • Changed state: Fixed

from garglk.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
Though the new behaviour removes only consecutive duplicates (which is totally 
fine,
I just noticed) I do appreciate it a lot. Also, the restore/save window destroy 
bug
is gone. Huzzah! Thank you for your fast and responsive coding, bcressey!

Original comment by [email protected] on 10 Dec 2008 at 2:24

from garglk.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
Changed in r128 to simply discard the history entries prior to storing them.  
More
efficient, plus it doesn't reduce the effective number of history entries.

I get what you're after - a history free of any duplicates - and I'll ponder 
that
too.  But eliminating adjacent duplicates gets rid of the trouble with 'z', 
'g', or
(my personal pet peeve) multiple 'undo' actions.

Original comment by [email protected] on 10 Dec 2008 at 2:58

from garglk.

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.