Skip to content

Instantly share code, notes, and snippets.

@petetnt
Last active December 7, 2015 07:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save petetnt/f0693b2951c884c4dd20 to your computer and use it in GitHub Desktop.
Save petetnt/f0693b2951c884c4dd20 to your computer and use it in GitHub Desktop.
Brackets undo issue
{
"done": [
{
"ranges": [
{
"anchor": {
"line": 34,
"ch": 34
},
"head": {
"line": 34,
"ch": 34
}
}
],
"primIndex": 0
}
],
"undone": [],
"undoDepth": null,
"lastSelTime": 1449471644054,
"lastModTime": 0,
"lastSelOp": 2574,
"lastOp": null,
"lastOrigin": null,
"maxGeneration": 469,
"generation": 469
}
{
"done": [
{
"ranges": [
{
"anchor": {
"line": 33,
"ch": 95
},
"head": {
"line": 33,
"ch": 95
}
}
],
"primIndex": 0
},
{
"ranges": [
{
"anchor": {
"line": 49,
"ch": 40,
"xRel": 1
},
"head": {
"line": 49,
"ch": 40,
"xRel": 1
}
}
],
"primIndex": 0
},
{
"ranges": [
{
"anchor": {
"line": 48,
"ch": 30,
"xRel": 1
},
"head": {
"line": 45,
"ch": 10,
"xRel": 1
}
}
],
"primIndex": 0
},
{
"ranges": [
{
"anchor": {
"line": 34,
"ch": 34,
"xRel": 1
},
"head": {
"line": 34,
"ch": 34,
"xRel": 1
}
}
],
"primIndex": 0
},
{
"changes": [
{
"from": {
"line": 34,
"ch": 34
},
"to": {
"line": 34,
"ch": 43
},
"text": [
""
]
}
],
"generation": 437
},
{
"ranges": [
{
"anchor": {
"line": 34,
"ch": 43
},
"head": {
"line": 34,
"ch": 43
}
}
],
"primIndex": 0
}
],
"undone": [],
"undoDepth": null,
"lastSelTime": 1449471056602,
"lastModTime": 1449471056602,
"lastSelOp": 2504,
"lastOp": 2504,
"lastSelOrigin": "+input",
"lastOrigin": "+input",
"maxGeneration": 454,
"generation": 454
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment