mirror of
				https://github.com/We-Dont-Byte/Mind_Reader.git
				synced 2025-02-04 10:38:42 +00:00 
			
		
		
		
	Update commands.ts
This commit is contained in:
		@@ -159,19 +159,19 @@ function getIndent(): void {
 | 
				
			|||||||
    let i = 0;
 | 
					    let i = 0;
 | 
				
			||||||
    if(textLine.isEmptyOrWhitespace)
 | 
					    if(textLine.isEmptyOrWhitespace)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      vscode.window.showInformationMessage("Line number " + lineNum.toString() + " Is Empty")
 | 
					      vscode.window.showInformationMessage("Line number " + lineNum.toString() + " Is Empty");
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      while(textLine.text[i] == '\t')
 | 
					      while(textLine.text[i] === '\t')
 | 
				
			||||||
      {
 | 
					      {
 | 
				
			||||||
        i++;
 | 
					        i++;
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
      vscode.window.showInformationMessage("Line Number " + lineNum.toString() + " Indentation " + i.toString())
 | 
					      vscode.window.showInformationMessage("Line Number " + lineNum.toString() + " Indentation " + i.toString());
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  else{
 | 
					  else{
 | 
				
			||||||
    vscode.window.showErrorMessage('No document currently active')
 | 
					    vscode.window.showErrorMessage('No document currently active');
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user