Comments (9)
"substr имеет EOL == колонка ДО это точно 0"-делать так?
from cudatext.
В тексте
xyвыделить xy{end}
ab
ed.get_text_substr(0,0,0,1) дает 'xy', а ожидается 'xy\n'
from cudatext.
{end} выделить нелзя, хоть и показана подсветка "выделено пустое место"
from cudatext.
ed.get_text_substr(0,0,0,1) дает 'xy', а ожидается 'xy\n'
from cudatext.
могу я сделать такую логику? "отдавать с \n если endx==0"
from cudatext.
Логика должна быть устойчивой к малым изменениям!
ed.get_text_substr(0,0,1,1) отдает 'xy\na'
Если мы сместимся на один симв, то и отдавать нужно на один символ меньше
from cudatext.
не должна!
from cudatext.
могу я сделать такую логику? "отдавать с \n если endx==0"
Да, лучше так
from cudatext.
done.
from cudatext.
Related Issues (20)
- user can close the disabled dialog in FindInFiles4 plugin
- German translation missing strings, typo and not working translation HOT 4
- Find/Replace dialog font-size HOT 5
- "Highlight occurences" plugin doesn't work with multi-line fragments HOT 3
- Open link will include right parenthesis) HOT 1
- Toolbar button 'New file'- remove it?
- Basic questions about LSP plugin configs HOT 5
- 'selection: delete selected text' copies deleted text to clipboard HOT 3
- How to delete end-of-line characters HOT 3
- Regular Expression gives the error (it is OK) HOT 4
- External changes to file HOT 2
- Editor Freezes on Horizontal Scroll HOT 4
- Any characters at the beginning of a line in front of a letter or space considered a word when moving word by word to the right HOT 1
- Display pair brackets on selection HOT 7
- LSP plugin: color of 'function call tooltip' is not themable, it is always black-on-cream HOT 1
- Unsaved tabs restore bookmarks HOT 4
- "links_regex" new regress, js url param HOT 1
- Viewer doesn't follow `scrollbar_click_jump` HOT 1
- viewer: underline marker is buggy in hex mode (in the hex part of viewer)
- viewer: in Unicode mode(s), marker is longer than needed 3x times
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.
from cudatext.