Home
last modified time | relevance | path

Searched refs:cursorLine (Results 1 – 25 of 102) sorted by relevance

12345

/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/tests/org.eclipse.swt.tests.gtk/ManualTests/org/eclipse/swt/tests/gtk/snippets/
H A DBug218935_SashFlicker.java138 private Canvas cursorLine; field in Bug218935_SashFlicker
141 cursorLine = new Canvas(parent, SWT.NO_BACKGROUND); in createCursor()
146 cursorLine.setLayoutData(cursorLineData); in createCursor()
148 cursorLine.setSize(1, Integer.MAX_VALUE); in createCursor()
149 cursorLine.setVisible(false); in createCursor()
150 cursorLine.setEnabled(false); in createCursor()
152 cursorLine.addPaintListener(new PaintListener() { in createCursor()
164 cursorLine.setVisible(visible); in setVisible()
168 cursorLine.moveAbove(null); in setVisible()
174 cursorLine.setLocation(x, 0); in setCursor()
[all …]
/dports/devel/kf5-ktexteditor/ktexteditor-5.89.0/src/buffer/
H A Dkatetexthistory.cpp168 if (line > cursorLine) { in transformCursor()
177 if (cursorLine == line) { in transformCursor()
190 cursorLine += 1; in transformCursor()
196 if (cursorLine == line) { in transformCursor()
201 cursorLine -= 1; in transformCursor()
207 if (cursorLine != line) { in transformCursor()
233 if (cursorLine != line) { in transformCursor()
264 if (cursorLine <= line) { in reverseTransformCursor()
275 cursorLine -= 1; in reverseTransformCursor()
298 cursorLine += 1; in reverseTransformCursor()
[all …]
/dports/games/dhewm3/dhewm3-1.5.1/neo/ui/
H A DEditWindow.cpp97 cursorLine = 0; in CommonInit()
358 if ( idKeyInput::IsDown( K_CTRL ) || cursorLine <= 0 || ( cursorLine >= breaks.Num() ) ) { in HandleEvent()
361 cursorPos = breaks[cursorLine]; in HandleEvent()
368 if ( idKeyInput::IsDown( K_CTRL ) || (cursorLine < -1) || ( cursorLine >= breaks.Num() - 1 ) ) { in HandleEvent()
371 cursorPos = breaks[cursorLine + 1] - 1; in HandleEvent()
388 if ( cursorLine < breaks.Num() - 1 ) { in HandleEvent()
400 if ( cursorLine > 0 ) { in HandleEvent()
560 cursorLine = 0; in EnsureCursorVisible()
563 cursorLine = i; in EnsureCursorVisible()
569 if ( cursorLine < topLine ) { in EnsureCursorVisible()
[all …]
/dports/net-im/convey/convey-src-0.3/src/org/convey/
H A DTextGraphic.java49 protected int cursorLine = -1; field in TextGraphic
96 if(this.cursorLine != -1) { in paint()
97 TextLayout layout = (TextLayout)this.lines.elementAt(this.cursorLine); in paint()
313 this.cursorLine = -1; in setCursor()
317 this.cursorLine = this.lines.size(); in setCursor()
322 this.cursorLine = 0; in setCursor()
326 this.cursorLine++; in setCursor()
427 if(this.cursorLine == 0) in keyPressed()
430 TextLayout layout = (TextLayout)this.lines.elementAt(this.cursorLine); in keyPressed()
443 if(this.cursorLine == this.lines.size() - 1) in keyPressed()
[all …]
/dports/editors/cpeditor/cpeditor-6.8.2/src/Extensions/
H A DYAPFormatter.cpp45 …return {QString("-l %1-%2").arg(qMin(cursorLine(), anchorLine()) + 1).arg(qMax(cursorLine(), ancho… in rangeArgs()
74 if (anchorLine() <= cursorLine()) in newCursor()
76 … cursor.movePosition(QTextCursor::NextBlock, QTextCursor::KeepAnchor, cursorLine() - anchorLine()); in newCursor()
80 …sor.movePosition(QTextCursor::PreviousBlock, QTextCursor::KeepAnchor, anchorLine() - cursorLine()); in newCursor()
/dports/misc/valentina/valentina-5b7e98bf48a86e3c444423a9f03533440a39aad9/src/libs/vtools/visualization/line/
H A Dvistoolalongline.cpp94 QLineF cursorLine (static_cast<QPointF>(*first), Visualization::scenePos); in RefreshGeometry() local
95 DrawLine(line, cursorLine, supportColor); in RefreshGeometry()
99 cursorLine.setLength(cursorLine.length()/2.0); in RefreshGeometry()
100 DrawPoint(lineP2, cursorLine.p2(), supportColor); in RefreshGeometry()
/dports/editors/texstudio/texstudio-4.1.2/src/
H A Dcodesnippet.h32 …CodeSnippet(): cursorLine(-1), cursorOffset(-1), anchorOffset(-1), usageCount(0), index(0), snippe… in CodeSnippet()
33 …et &cw): word(cw.word), sortWord(cw.sortWord), lines(cw.lines), cursorLine(cw.cursorLine), cursorO… in CodeSnippet()
45 …int cursorLine; ///< placement of cursor after insert concerning line of codesnippet; -1 => not d… variable
/dports/x11/konsole/konsole-21.12.3/src/
H A DScreen.cpp353 _savedState.cursorLine = _cuY; in saveCursor()
412 return _savedState.cursorLine; in getCursorLine()
437 int cursorLine = getCursorLine(); in resizeImage() local
438 …const int oldCursorLine = (cursorLine == _lines - 1 || cursorLine > new_lines - 1) ? new_lines - 1… in resizeImage()
445 --cursorLine; in resizeImage()
478 --cursorLine; in resizeImage()
495 ++cursorLine; in resizeImage()
504 --cursorLine; in resizeImage()
520 ++cursorLine; in resizeImage()
534 cursorLine = qBound(0, cursorLine, _lines - 1); in resizeImage()
[all …]
/dports/math/giacxcas/CoCoALib-0.99700/src/CoCoA-5/QCodeEdit/widgets/
H A Dqlinenumberpanel.cpp151 const int cursorLine = e->cursor().lineNumber(); in paint() local
179 if ( n == cursorLine ) in paint()
209 specialFont.setBold(n == cursorLine); //todo: only get bold on the current wrapped line in paint()
225 if ( n == cursorLine ) in paint()
/dports/math/cocoalib/CoCoALib-0.99712/src/CoCoA-5/QCodeEdit/widgets/
H A Dqlinenumberpanel.cpp151 const int cursorLine = e->cursor().lineNumber(); in paint() local
179 if ( n == cursorLine ) in paint()
209 specialFont.setBold(n == cursorLine); //todo: only get bold on the current wrapped line in paint()
225 if ( n == cursorLine ) in paint()
/dports/devel/upp/upp/uppsrc/CodeEditor/
H A DPythonSyntax.cpp69 WString cursorLine = editor.GetWLine(editor.GetCursorLine()); in IndentInsert() local
72 Identation::Type idType = FindIdentationType(editor, cursorLine); in IndentInsert()
77 if(LineHasColon(cursorLine)) in IndentInsert()
79 editor.InsertChar(idChar, CalculateLineIndetations(cursorLine, idType)); in IndentInsert()
/dports/editors/texstudio/texstudio-4.1.2/src/qcodeedit/lib/widgets/
H A Dqlinenumberpanel.cpp170 const int cursorLine = e->cursor().lineNumber(); in paint() local
198 if ( n == cursorLine ) in paint()
217 … specialFont.setBold(n == cursorLine); //todo: only get bold on the current wrapped line in paint()
238 if ( n == cursorLine ) in paint()
/dports/security/vault/vault-1.8.2/vendor/golang.org/x/tools/internal/lsp/source/completion/
H A Dpackage.go116 cursorLine := tok.Line(cursor)
117 if cursorLine <= 0 || cursorLine > len(lines) {
120 if fset.Position(expr.Pos()).Line == cursorLine {
121 words := strings.Fields(lines[cursorLine-1])
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/workhorse/vendor/golang.org/x/tools/internal/lsp/source/completion/
H A Dpackage.go116 cursorLine := tok.Line(cursor)
117 if cursorLine <= 0 || cursorLine > len(lines) {
120 if fset.Position(expr.Pos()).Line == cursorLine {
121 words := strings.Fields(lines[cursorLine-1])
/dports/devel/liteide/liteide-x37.4/liteidex/vendor/golang.org/x/tools/internal/lsp/source/completion/
H A Dpackage.go116 cursorLine := tok.Line(cursor)
117 if cursorLine <= 0 || cursorLine > len(lines) {
120 if fset.Position(expr.Pos()).Line == cursorLine {
121 words := strings.Fields(lines[cursorLine-1])
/dports/net-mgmt/promscale/promscale-0.6.2/vendor/golang.org/x/tools/internal/lsp/source/completion/
H A Dpackage.go116 cursorLine := tok.Line(cursor)
117 if cursorLine <= 0 || cursorLine > len(lines) {
120 if fset.Position(expr.Pos()).Line == cursorLine {
121 words := strings.Fields(lines[cursorLine-1])
/dports/sysutils/helmfile/helmfile-0.138.7/vendor/golang.org/x/tools/internal/lsp/source/completion/
H A Dcompletion_package.go116 cursorLine := tok.Line(cursor)
117 if cursorLine <= 0 || cursorLine > len(lines) {
120 if fset.Position(expr.Pos()).Line == cursorLine {
121 words := strings.Fields(lines[cursorLine-1])
/dports/sysutils/gomplate/gomplate-3.9.0/vendor/golang.org/x/tools/internal/lsp/source/completion/
H A Dpackage.go116 cursorLine := tok.Line(cursor)
117 if cursorLine <= 0 || cursorLine > len(lines) {
120 if fset.Position(expr.Pos()).Line == cursorLine {
121 words := strings.Fields(lines[cursorLine-1])
/dports/devel/gitlab-shell/gitlab-shell-65b8ec55bebd0aea64ac52b9878bafcc2ad992d3/vendor/golang.org/x/tools/internal/lsp/source/completion/
H A Dpackage.go116 cursorLine := tok.Line(cursor)
117 if cursorLine <= 0 || cursorLine > len(lines) {
120 if fset.Position(expr.Pos()).Line == cursorLine {
121 words := strings.Fields(lines[cursorLine-1])
/dports/devel/gitlab-runner/gitlab-runner-8925d9a06fd8e452e2161a768462652a2a13111f/vendor/golang.org/x/tools/tools-113979e3529a/internal/lsp/source/completion/
H A Dpackage.go116 cursorLine := tok.Line(cursor)
117 if cursorLine <= 0 || cursorLine > len(lines) {
120 if fset.Position(expr.Pos()).Line == cursorLine {
121 words := strings.Fields(lines[cursorLine-1])
/dports/textproc/gitlab-elasticsearch-indexer/gitlab-elasticsearch-indexer-ef1440548effec15831eda2d246dacc43233cefb/vendor/golang.org/x/tools/internal/lsp/source/completion/
H A Dpackage.go116 cursorLine := tok.Line(cursor)
117 if cursorLine <= 0 || cursorLine > len(lines) {
120 if fset.Position(expr.Pos()).Line == cursorLine {
121 words := strings.Fields(lines[cursorLine-1])
/dports/databases/litestream/litestream-0.3.6/vendor/golang.org/x/tools/internal/lsp/source/completion/
H A Dpackage.go116 cursorLine := tok.Line(cursor)
117 if cursorLine <= 0 || cursorLine > len(lines) {
120 if fset.Position(expr.Pos()).Line == cursorLine {
121 words := strings.Fields(lines[cursorLine-1])
/dports/sysutils/terraform/terraform-1.0.11/vendor/golang.org/x/tools/internal/lsp/source/completion/
H A Dpackage.go116 cursorLine := tok.Line(cursor)
117 if cursorLine <= 0 || cursorLine > len(lines) {
120 if fset.Position(expr.Pos()).Line == cursorLine {
121 words := strings.Fields(lines[cursorLine-1])
/dports/multimedia/navidrome/navidrome-0.40.0/vendor/golang.org/x/tools/internal/lsp/source/completion/
H A Dpackage.go116 cursorLine := tok.Line(cursor)
117 if cursorLine <= 0 || cursorLine > len(lines) {
120 if fset.Position(expr.Pos()).Line == cursorLine {
121 words := strings.Fields(lines[cursorLine-1])
/dports/net-im/dendrite/dendrite-0.5.1/vendor/golang.org/x/tools/internal/lsp/source/completion/
H A Dpackage.go121 cursorLine := tok.Line(cursor)
122 if cursorLine <= 0 || cursorLine > len(lines) {
125 if fset.Position(expr.Pos()).Line == cursorLine {
126 words := strings.Fields(lines[cursorLine-1])

12345