Chris Smith
9407dbe848
Fix textpane passing wrong length to getStyledText
Fixes CLIENT-165
Change-Id: I4c304112cc590b57965e9304b68a6cdbd63debd3
Reviewed-on: http://gerrit.dmdirc.com/1778
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
13 년 전
Greg Holmes
9db9d75245
Revert "Attempt to make textpane slightly more readable and individual methods less complex."
This reverts commit b169e345b7 .
Fixes CLIENT-157
Change-Id: I6833303f489a61f13869a02ace0875492e0211e1
Reviewed-on: http://gerrit.dmdirc.com/1766
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 년 전
Shane Mc Cormack
e1106c80db
Update Copyright
13 년 전
Greg Holmes
b169e345b7
Attempt to make textpane slightly more readable and individual methods less complex.
Change-Id: Ieee6cadb220ca799bd9e0f1919093a528f5507f5
Reviewed-on: http://gerrit.dmdirc.com/1711
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 년 전
Greg Holmes
b732f4bd16
PMD Fixes for plugins
Change-Id: I16cbfad94712946435c2be40ed0f2d25733bf354
Reviewed-on: http://gerrit.dmdirc.com/1700
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 년 전
Greg Holmes
4a4a169e27
Fix PMD errors in plugins.
Change-Id: I7953fd2c0bbadb5a30188641a25352c10905416c
Reviewed-on: http://gerrit.dmdirc.com/1691
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 년 전
Greg Holmes
99d5c3ce6b
Fix textpane not selecting last line again.
Change-Id: Iade85420d564aed7f55cfbca323cf0a8824965bc
Reviewed-on: http://gerrit.dmdirc.com/1681
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 년 전
Greg Holmes
d74d6d7d62
Rely less on document for internal state. Code tidying.
Fixes issue CLIENT-118
Change-Id: If70f0377b7853bf4b103380c0038cf49e9651f93
Reviewed-on: http://gerrit.dmdirc.com/1678
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 년 전
Greg Holmes
e9e29b9b81
Allow copying text from last line of the text pane.
Fixes issue CLIENT-124
Change-Id: I573d28237c6f69ebd4a07fefd9b65b0533ba0936
Reviewed-on: http://gerrit.dmdirc.com/1635
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 년 전
Greg Holmes
325cd82a5a
Show second line of textpane.
Fixes issue CLIENT-121
Change-Id: I1180d0e5b7f014bdb2474e370e5ef8171861fd74
Reviewed-on: http://gerrit.dmdirc.com/1634
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 년 전
Gregory Holmes
79e80af379
Add option for new line notifications in textpane.
Fixes issue CLIENT-114
Change-Id: Ib96d072df16e86038005a76550acebfa6db3fb48
Reviewed-on: http://gerrit.dmdirc.com/1626
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 년 전
Chris Smith
7f35856fc4
Fix bizarre crazy amazing textpane line counting bugs
Fixes CLIENT-112
Change-Id: Ieef8fb645b0da38bc518d57e38515e8ff0e391f1
Reviewed-on: http://gerrit.dmdirc.com/1618
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 년 전
Chris Smith
268bbc8dbd
Fix a couple of minor new line indicator bugs
Fixes CLIENT-113
Change-Id: I473ed4ab019cdbe78a2075e1cbd43a3b1d86a28b
Reviewed-on: http://gerrit.dmdirc.com/1615
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Greg Holmes <greg@dmdirc.com >
13 년 전
Gregory Holmes
14ee5ff8cf
Add new line indicator to textpane.
Fixes issue CLIENT-9
Change-Id: Ieaa6fe6aa0e0622fccc93b56e6bfd357ddaa2a8e
Reviewed-on: http://gerrit.dmdirc.com/1613
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 년 전
Greg Holmes
1ddd2945da
Revert "Cache positions of lines for faster repaints."
This reverts commit 0601199033 .
Fixes issue CLIENT-73
Fixes issue CLIENT-74
Change-Id: Iee9f842af81df4360a5dc7e3d6e6003f604c8033
Reviewed-on: http://gerrit.dmdirc.com/1546
Automatic-Compile: Greg Holmes <greg@dmdirc.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 년 전
Greg Holmes
0601199033
Cache positions of lines for faster repaints.
Change-Id: I1b40e3d6c48bf245a00b895ccd82ed16a1b849bf
Reviewed-on: http://gerrit.dmdirc.com/1512
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
13 년 전
Greg Holmes
7f6dcc101b
Remove code duplication in TextPane getSelectedText.
Fixes issue 4447
Change-Id: Ia5844908d2ab6eeed238423338cfe05c10da7bb2
Reviewed-on: http://gerrit.dmdirc.com/1502
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 년 전
Greg Holmes
a11717df19
Adds control code copying
Fixes issue 2179
Change-Id: I4586bd633728e29131a2f59155da7d7d2f920aea
Reviewed-on: http://gerrit.dmdirc.com/1487
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
14 년 전
Greg Holmes
68056e36d6
Check is there is text to select before enabling copy item.
Fixes issue 4351
Change-Id: I2d14306b26843c1982c27569e918a95c034baba7
Reviewed-on: http://gerrit.dmdirc.com/1461
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
14 년 전
Greg Holmes
a850a25acb
Add executor for swing workers, make everything use it.
Fixes issue 4339
Change-Id: I76de3c3bedc17d99766574dbab02a03f019e8d12
Reviewed-on: http://gerrit.dmdirc.com/1450
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
14 년 전
Greg Holmes
3fe3e0f424
Don't add null components to prefs panels, show error.
Remove unused imports in TextPaneCanvas.
Fixes issue 4330
Change-Id: Ifbb3b71e6a954f4700273961025b319b6d5174cd
Reviewed-on: http://gerrit.dmdirc.com/1446
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
14 년 전
Greg Holmes
7d62be83b0
Do something when background images are unset...
Fixes issue 4328
Change-Id: Ideed3c645fd0e380b9b38a70c2832f105a0897d0
Reviewed-on: http://gerrit.dmdirc.com/1442
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
14 년 전
Greg Holmes
995c60a216
Tidy up TextPaneCanvas a little
Change-Id: Ic091b3b8230222edf0c17dd0839f1ccfbf6bf25e
Reviewed-on: http://gerrit.dmdirc.com/1438
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
14 년 전
Greg Holmes
4c692b576a
Check for empty iterator before adding styles.
Fixes issue 4206
Change-Id: Iac3dba3a5856a56f24776336ba532f6f5b87c65b
Reviewed-on: http://gerrit.dmdirc.com/1383
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
14 년 전
Chris Smith
6b0a81a27b
Style fixes
Change-Id: I1a3166e5b4f21430b119f5a2692c8554e192aec1
Reviewed-on: http://gerrit.dmdirc.com/1329
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 년 전
Greg Holmes
8016183432
Import order fixing
Change-Id: I96c3ad666c6a176d5289f47c02ba6a524ee34172
Reviewed-on: http://gerrit.dmdirc.com/1327
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
14 년 전
Greg Holmes
597aefda47
More null checking in textpane highlighting code
Fixes issue 4191
Change-Id: I743ac78735e1597905b0ef16dd1ab5fc8ebb39ca
Reviewed-on: http://gerrit.dmdirc.com/1289
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
14 년 전
Greboid
6ded35dee3
Fixes textpane not autoscrolling on creation.
Change-Id: If3499a631e9dfe919bb1dab480c7c01504e39dc0
Reviewed-on: http://gerrit.dmdirc.com/1168
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
14 년 전
Greboid
3fefcc2cfa
Remove use of deprecated methods
Change-Id: Ic8894d6baba0065b4d928300625de2ca19e168d6
Reviewed-on: http://gerrit.dmdirc.com/1160
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
14 년 전
Greboid
c758701a6d
Fixes issue 4007
Wow, thats ugly code, bonus feature discovery (its up to you to figure out the
crazy IPv6 FTP stuff it's doing if you care)
Change-Id: I67ca079365ad40891f5cefab18f36f2ff68d1a30
Reviewed-on: http://gerrit.dmdirc.com/1121
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
14 년 전
Greboid
872c63648a
Auto scrolling should work again now
Fixes issue 3986
Change-Id: Id6495b6e4e1cca43608555ee0fe5848d4bb8c152
Reviewed-on: http://gerrit.dmdirc.com/1109
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
14 년 전
Greboid
a0908ebca5
Fix deadlock in the textpane... (EDT!!)
Fixes issue 3985
Change-Id: I8b1bfd3b0e227107b5188feccd52f3ac572d109e
Reviewed-on: http://gerrit.dmdirc.com/1102
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
14 년 전
Greboid
d02f514fb0
Move trim handling to IRCDocument.
Change-Id: Ifdb80c4888932f7e0d169db9756edb85c23faa3d
Reviewed-on: http://gerrit.dmdirc.com/1094
Automatic-Compile: Chris Smith <chris@dmdirc.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
14 년 전
Chris Smith
9e59580933
FrameContainers now look after IRCDocuments
Issue 3982
Change-Id: I385267c1ba2eec6f1a61a0eabe073bcaf8b11007
Reviewed-on: http://gerrit.dmdirc.com/1087
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: Chris Smith <chris@dmdirc.com >
14 년 전
Greboid
edb59167dd
Moves IRCDocument to core
Change-Id: I2fa8c96d437fc060beddcca7d8f14d77e462092d
Reviewed-on: http://gerrit.dmdirc.com/1084
Automatic-Compile: Chris Smith <chris@dmdirc.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
14 년 전
Greboid
f977975740
Major surgery on mouse events in the textpane.
Fixes issue 3975
Fixes issue 3947
Fixes issue 3946
Fixes issue 3928
Change-Id: If4d35bde4230243e541bf73cc68dbda0f7382b92
Reviewed-on: http://gerrit.dmdirc.com/1039
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
14 년 전
Chris Smith
e024e3e3ca
Show tooltips in the textpane
Fixes issue 3931
Change-Id: Ic61c2cdcb8a1a24787ec0afb218b3561a585b6e1
Reviewed-on: http://gerrit.dmdirc.com/1054
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 년 전
Greboid
858997a20e
Fixes issue 3928
Same code == same hitboxes == impossible (I can't reproduce so can't test)
Change-Id: Ieb5ab99668777389b861aa158aee87bada7783a0
Reviewed-on: http://gerrit.dmdirc.com/1032
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
14 년 전
Greboid
4a00957ace
Fixes issue 3940
Add action name to call to super constructor (forgot to do this when switching
from the old action)
Change-Id: I22716834ecd9a14a3c36cf2c9c13b71f6d825923
Reviewed-on: http://gerrit.dmdirc.com/1035
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
14 년 전
Greboid
184d8017b1
Fixes issue 3890
Rework selection behaviour in the inputfield and the textpane.
Change-Id: Ie6cec6c1885124ba3e96b549fdfb86fcf76edcf5
Reviewed-on: http://gerrit.dmdirc.com/1013
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
14 년 전
Greboid
9abab99098
Fixes issue 3885
Work around stupid API behaviour in java.
Change-Id: I3f52e644f8337807b045654024669cc453c3bbe3
Reviewed-on: http://gerrit.dmdirc.com/1014
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
14 년 전
Simon Mott
955061014d
Adds listeners to the TextPane for Control+Home/End and the appropriate behaviour
Fixes issue 3795
Change-Id: If77f1f08bc8733617d9f1e116dacf21dd9729324
Reviewed-on: http://gerrit.dmdirc.com/973
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
14 년 전
Greboid
42c0630607
Fixes issue 3855
Change-Id: I3454bf080eb581e6c49eafd773c5544ccab01434
Reviewed-on: http://gerrit.dmdirc.com/969
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
14 년 전
Greboid
9a8fd6a92d
Fixes issue 3849
Textpane now investigates highlight events that dont touch a line, if the event
is above the first line the first line is selected, if the event if below the
last line the last line is selected.
Change-Id: Id99f11bee2215e361b4da5726f88c56d5ba95cc4
Reviewed-on: http://gerrit.dmdirc.com/967
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
14 년 전
Greboid
09cefa8836
Fixes issue 3839: Textpane selection is still broken when selecting downwards (when cursor is between two lines)
Change-Id: Ib9656cc9bb37d9041ef6d33b6492854a066e1d2f
Reviewed-on: http://gerrit.dmdirc.com/953
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
14 년 전
Greboid
6592de93c8
Adds methods to ask for insertion indexes or character indexes in the textpane
Fixes issue 3836: Link hitboxing needs to ignore insertion indexing and use character indexing
Change-Id: I24c2cadccc3a95125b7d714602094de377d191d2
Reviewed-on: http://gerrit.dmdirc.com/952
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
14 년 전
Greboid
407683fa35
Fixes issue 3835: Textpane selection breaks when moving mouse below textpane during selection
Change-Id: Ibfe20ebdaa6d724bb8197aa24682df14c5e752d8
Reviewed-on: http://gerrit.dmdirc.com/947
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
14 년 전
Greboid
8659e5a66c
Fixes issue 3801: Custom fonts break line hitboxing
Change-Id: I690db311d9472b1f8015f408f0643150842b84ad
Reviewed-on: http://gerrit.dmdirc.com/945
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
14 년 전
Greboid
99c7c446bb
Adjust the hitboxes magically
Fixes issue 3833
Change-Id: Id90dc43d9228ce7a8530031c6be4d836243cf552
Reviewed-on: http://gerrit.dmdirc.com/943
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
14 년 전
Gregory Holmes
c5010ce03f
Fixes issue 3801: Custom fonts break line hitboxing
Change-Id: I7915af993b086366d52a9e375c359923598a25ce
Reviewed-on: http://gerrit.dmdirc.com/906
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
14 년 전